Handbook
Glossary
<io-thread> ( -- thread )
Vocabulary
io
.
thread
Inputs
None
Outputs
thread
an
object
Definition
USING:
io.backend
kernel
namespaces
threads
;
IN:
io.thread
:
<io-thread>
( -- thread )
[
[
io-thread-running?
get-global
]
[
sleep-time
io-multiplex
yield
]
while
]
"I/O wait"
io-thread
new-thread
;