threads ボキャブラリ
Factor ハンドブック > ボキャブラリ索引


ドキュメント
Lightweight co-operative threads

メタデータ
作者:Slava Pestov


ワード

タプルクラス
クラススーパークラススロット
already-stopped tuplethread
not-running tuplethread
thread tuplename quot exit-handler id continuation state runnable mailbox variables sleep-entry


総称ワード
ワードスタック効果
error-in-thread( error thread -- )
sleep( dt -- )
sleep-until( time/f -- )


シンボルワード
initial-thread


通常ワード
ワードスタック効果
(spawn)( thread -- )
<thread>( quot name -- thread )
already-stopped( thread -- * )
check-registered( thread -- thread )
check-unregistered( thread -- thread )
in-thread( quot -- )
interrupt( thread -- )
new-thread( quot name class -- thread )
not-running( thread -- * )
resume( thread -- )
resume-now( thread -- )
resume-with( obj thread -- )
run-queue( -- dlist )
self( -- thread )
sleep-queue( -- heap )
sleep-time( -- us/f )
spawn( quot name -- thread )
spawn-server( quot name -- thread )
stop( -- )
suspend( quot state -- obj )
tchange( key quot -- )
tget( key -- value )
thread( id -- thread )
thread-registered?( thread -- ? )
threads( -- assoc )
tnamespace( -- assoc )
tset( value key -- )
yield( -- )


クラス述語ワード
ワードスタック効果
already-stopped?( object -- ? )
not-running?( object -- ? )
thread?( object -- ? )


ファイル
resource:basis/threads/threads.factor
resource:basis/threads/threads-docs.factor
resource:basis/threads/threads-tests.factor



ボキャブラリ概要
threads.privatethreads.private ボキャブラリ