| Authors: | Slava Pestov |
| Class | Superclass | Slots |
linked-error | tuple | error thread |
linked-thread | thread | supervisor |
thread | tuple | name quot exit-handler id context state runnable mailbox variables sleep-entry |
| Word | Stack effect |
send-linked-error | ( linked-error object -- ) |
sleep | ( dt -- ) |
sleep-until | ( n/f -- ) |
initial-thread |
| Word | Stack effect |
(spawn) | ( thread -- ) |
<linked-error> | ( error thread -- linked-error ) |
<linked-thread> | ( quot name object -- thread ) |
<thread> | ( quot name -- thread ) |
?linked | ( message -- message ) |
in-thread | ( quot -- ) |
interrupt | ( thread -- ) |
new-thread | ( quot name class -- thread ) |
resume | ( thread -- ) |
resume-now | ( thread -- ) |
resume-with | ( obj thread -- ) |
run-queue | ( -- dlist ) |
self | ( -- thread ) |
sleep-queue | ( -- heap ) |
sleep-time | ( -- nanos/f ) |
spawn | ( quot name -- thread ) |
spawn-linked-to | ( quot name object -- thread ) |
spawn-server | ( quot name -- thread ) |
stop | ( -- * ) |
suspend | ( state -- obj ) |
tchange | ( ..a key quot: ( ..a value -- ..b newvalue ) -- ..b ) |
tget | ( key -- value ) |
thread-continuation | ( thread -- continuation ) |
thread-registered? | ( thread -- ? ) |
threads | ( -- assoc ) |
tnamespace | ( -- assoc ) |
tset | ( value key -- ) |
waiting-callbacks | ( -- assoc ) |
yield | ( -- ) |
| Word | Stack effect |
linked-error? | ( object -- ? ) |
linked-thread? | ( object -- ? ) |
thread? | ( object -- ? ) |