Fix wait loop bug (fixed by Slava)
parent
62ded50c8b
commit
83aa8d0d6e
|
@ -2,14 +2,15 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
IN: io.unix.linux
|
IN: io.unix.linux
|
||||||
USING: io.backend io.unix.backend io.unix.launcher io.unix.select
|
USING: io.backend io.unix.backend io.unix.launcher io.unix.select
|
||||||
namespaces kernel assocs unix.process ;
|
namespaces kernel assocs unix.process init ;
|
||||||
|
|
||||||
TUPLE: linux-io ;
|
TUPLE: linux-io ;
|
||||||
|
|
||||||
INSTANCE: linux-io unix-io
|
INSTANCE: linux-io unix-io
|
||||||
|
|
||||||
M: linux-io init-io ( -- )
|
M: linux-io init-io ( -- )
|
||||||
<select-mx> mx set-global
|
<select-mx> mx set-global ;
|
||||||
start-wait-thread ;
|
|
||||||
|
|
||||||
T{ linux-io } set-io-backend
|
T{ linux-io } set-io-backend
|
||||||
|
|
||||||
|
[ start-wait-thread ] "io.unix.linux" add-init-hook
|
Loading…
Reference in New Issue