Fix wait loop bug (fixed by Slava)

db4
Eduardo Cavazos 2008-01-27 19:10:28 -06:00
parent 62ded50c8b
commit 83aa8d0d6e
1 changed files with 4 additions and 3 deletions
extra/io/unix/linux

View File

@ -2,14 +2,15 @@
! See http://factorcode.org/license.txt for BSD license.
IN: io.unix.linux
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 ;
INSTANCE: linux-io unix-io
M: linux-io init-io ( -- )
<select-mx> mx set-global
start-wait-thread ;
<select-mx> mx set-global ;
T{ linux-io } set-io-backend
[ start-wait-thread ] "io.unix.linux" add-init-hook