Handbook
Glossary
init-io ( -- )
Factor handbook
»
Input and output
»
Non-blocking I/O implementation
Prev:
io-backend
Next:
init-stdio ( -- )
Vocabulary
io
.
backend
Generic word contract
Initializes the I/O system. Called on startup.
Definition
IN:
io.backend
HOOK:
init-io
io-backend
( -- )
Methods
USING:
io.backend
;
M:
c-io-backend
init-io
;
USING:
io.backend
io.backend.unix.macos
io.backend.unix.multiplexers
io.backend.unix.multiplexers.kqueue
namespaces
;
M:
macos-kqueue
init-io
<kqueue-mx>
mx
set-global
;
USING:
io.backend
io.backend.unix.multiplexers
io.backend.unix.multiplexers.run-loop
namespaces
system
;
M:
macos
init-io
<run-loop-mx>
mx
set-global
;