core-foundation.run-loop: this is still needed, for now.
parent
d78f90d7c7
commit
ebac6a5dbf
|
@ -126,6 +126,7 @@ PRIVATE>
|
|||
60 timer-callback <CFTimer> add-timer-to-run-loop ;
|
||||
|
||||
: run-one-iteration ( nanos -- handled? )
|
||||
reset-run-loop
|
||||
CFRunLoopDefaultMode
|
||||
swap [ nanoseconds ] [ 5 minutes ] if* >CFTimeInterval
|
||||
t CFRunLoopRunInMode kCFRunLoopRunHandledSource = ;
|
||||
|
|
Loading…
Reference in New Issue