TSemaphore

final class TSemaphore extends AnyVal
Companion:
object
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def acquire: USTM[Unit]
def acquireN(n: Long): USTM[Unit]
def available: USTM[Long]
def release: USTM[Unit]
def releaseN(n: Long): USTM[Unit]
def withPermit[E, B](stm: STM[E, B]): STM[E, B]

Concrete fields

val permits: TRef[Long]