Index
Modules:
eventqueue
,
eventqueue/semaphore
.
API symbols
`<`:
semaphore: `<`(a, b: Semaphore): bool
`==`:
semaphore: `==`(a, b: Semaphore): bool
`=destroy`:
semaphore: `=destroy`(s: var Semaphore)
Cont:
eventqueue: Cont
coop:
eventqueue: coop()
eventqueue: coop(c: Cont): Cont
dismiss:
eventqueue: dismiss()
eventqueue: dismiss(c: Cont): Cont
fork:
eventqueue: fork()
eventqueue: fork(c: Cont): Cont
hash:
semaphore: hash(s: Semaphore): Hash
id:
semaphore: id(s: Semaphore): int
init:
eventqueue: init(c: Cont): Cont
semaphore: init(s: var Semaphore; id: int)
iowait:
eventqueue: iowait(file: int | SocketHandle; events: set[Event])
eventqueue: iowait(c: Cont; file: int | SocketHandle; events: set[Event]): Cont
isReady:
semaphore: isReady(s: var Semaphore): bool
jield:
eventqueue: jield()
eventqueue: jield(c: Cont): Cont
len:
eventqueue: len(eq: EventQueue): int
newSemaphore:
eventqueue: newSemaphore(): Semaphore
noop:
eventqueue: noop()
eventqueue: noop(c: Cont): Cont
poll:
eventqueue: poll()
run:
eventqueue: run(interval: Duration = DurationZero)
Semaphore:
semaphore: Semaphore
signal:
eventqueue: signal(s: var Semaphore)
semaphore: signal(s: var Semaphore)
signalAll:
eventqueue: signalAll(s: var Semaphore)
sleep:
eventqueue: sleep(c: Cont; interval: Duration): Cont
eventqueue: sleep(c: Cont; secs: float): Cont
eventqueue: sleep(c: Cont; ms: int): Cont
eventqueue: sleep(interval: Duration)
eventqueue: sleep(secs: float)
eventqueue: sleep(ms: int)
spawn:
eventqueue: spawn(c: Cont)
stop:
eventqueue: stop()
trampoline:
eventqueue: trampoline(c: Cont)
wait:
eventqueue: wait(c: Cont; s: var Semaphore): Cont
eventqueue: wait(s: var Semaphore)
semaphore: wait(s: var Semaphore)
withReady:
semaphore: withReady(s: var Semaphore; body: untyped): untyped