io.backend.unix.multiplexors.run-loop: switch to "mx get-global".

John Benediktsson 2012-08-01 16:20:31 -07:00
parent 2773f41724
commit ed7ddef79b
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ TUPLE: run-loop-mx kqueue-mx ;
: file-descriptor-callback ( -- callback )
void { CFFileDescriptorRef CFOptionFlags void* }
cdecl [
2drop enable-all-callbacks
0 mx get kqueue-mx>> wait-for-events
3drop
0 mx get-global kqueue-mx>> wait-for-events
yield
] alien-callback ;