io.backend.unix.multiplexers.run-loop: don't enable-all-callbacks twice.
parent
68446b047b
commit
fec182d2d8
|
|
@ -12,9 +12,8 @@ TUPLE: run-loop-mx kqueue-mx ;
|
|||
: file-descriptor-callback ( -- callback )
|
||||
void { CFFileDescriptorRef CFOptionFlags void* }
|
||||
cdecl [
|
||||
2drop
|
||||
3drop
|
||||
0 mx get-global kqueue-mx>> wait-for-events
|
||||
enable-all-callbacks
|
||||
reset-run-loop
|
||||
yield
|
||||
] alien-callback ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue