Handbook
Glossary
self ( -- thread )
Factor handbook
»
The language
»
Co-operative threads
»
Thread-local state and variables
Prev:
thread
Next:
tnamespace ( -- assoc )
Vocabulary
threads
Inputs
None
Outputs
thread
a
thread
Word description
Pushes the currently-running thread.
Definition
USING:
kernel.private
;
IN:
threads
:
self
( -- thread )
OBJ-CURRENT-THREAD
special-object
{
thread
}
declare
;
inline