Handbook
Glossary
file-descriptor-callback ( -- callback )
Vocabulary
io
.
backend
.
unix
.
multiplexers
.
run-loop
Inputs
None
Outputs
callback
an
object
Definition
USING:
accessors
core-foundation.file-descriptors
core-foundation.run-loop
io.backend.unix.multiplexers
kernel
namespaces
threads
;
IN:
io.backend.unix.multiplexers.run-loop
:
file-descriptor-callback
( -- callback )
[
2drop
0
mx
get-global
kqueue-mx>>
wait-for-events
enable-all-callbacks
reset-thread-timer
yield
]
CFFileDescriptorCallBack
;