Co-operative threads
Factor handbook ยป The language

Prev:Combinators
Next:Lexical variables


Factor supports co-operative threads. A thread will yield while waiting for input/output operations to complete, or when a yield has been explicitly requested.

Words for working with threads are in the threads vocabulary.
Starting and stopping threads
Yielding and suspending threads
Thread-local state and variables
Thread implementation