threads.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:threads


Words

Generic words
WordStack effect
(next)( obj thread -- obj' )


Primitives
WordStack effect
(set-context)( obj context -- obj' )
(set-context-and-delete)( obj context -- * )
(sleep)( nanos -- )
(start-context)( obj quot -- obj' )
(start-context-and-delete)( obj quot -- * )
context-object-for( n context -- obj )


Ordinary words
WordStack effect
(stop)( obj thread -- * )
[start]( -- value )
catchstack-for( context -- catchstack )
continuation-for( context -- continuation )
expire-sleep( thread -- )
expire-sleep-loop( -- )
expire-sleep?( -- ? )
init-initial-thread( -- )
init-thread-state( -- )
init-threads( -- )
namestack-for( context -- namestack )
next( -- obj thread )
register-thread( thread -- )
schedule-sleep( thread dt -- )
set-context( obj context -- obj' )
set-context-and-delete( obj context -- * )
set-self( thread -- )
start-context( obj quot: ( obj -- * ) -- obj' )
start-context-and-delete( obj quot: ( obj -- * ) -- * )
unregister-thread( thread -- )
wait-for-callback( callback -- )
wake-up-callbacks( -- )


Files