Handbook
Glossary
(spawn) ( thread -- )
Factor handbook
»
The language
»
Co-operative threads
»
Starting and stopping threads
Prev:
<thread> ( quot name -- thread )
Next:
stop ( -- * )
Vocabulary
threads
Inputs
thread
an
object
Outputs
None
Definition
USING:
kernel
namespaces
threads.private
;
IN:
threads
:
(spawn)
( thread -- )
[
register-thread
]
[
[
get-namestack
]
dip
resume-with
]
bi
;