Parents: | core-foundation |
Authors: | Slava Pestov |
Platforms: | macos |
Class | Superclass | Slots |
run-loop-state | tuple | fds sources timers |
CFRunLoopRef |
CFRunLoopSourceRef |
run-loop |
thread-timer |
Word | Stack effect |
(reset-thread-timer) | ( timer -- ) |
<run-loop> | ( -- run-loop ) |
CFFileDescriptorCreateRunLoopSource | ( allocator f order -- CFRunLoopSourceRef ) |
CFRunLoopAddSource | ( rl source mode -- ) |
CFRunLoopAddTimer | ( rl timer mode -- ) |
CFRunLoopDefaultMode | ( -- alien ) |
CFRunLoopGetCurrent | ( -- CFRunLoopRef ) |
CFRunLoopGetMain | ( -- CFRunLoopRef ) |
CFRunLoopRemoveSource | ( rl source mode -- ) |
CFRunLoopRemoveTimer | ( rl timer mode -- ) |
CFRunLoopRunInMode | ( mode seconds returnAfterSourceHandled -- SInt32 ) |
add-fd-to-run-loop | ( fd callback -- ) |
add-source-to-run-loop | ( source -- ) |
add-timer-to-run-loop | ( timer -- ) |
create-fd-source | ( CFFileDescriptor -- source ) |
get-run-loop | ( -- run-loop ) |
init-thread-timer | ( -- ) |
invalidate-run-loop-timers | ( -- ) |
kCFRunLoopRunFinished | ( -- value ) |
kCFRunLoopRunHandledSource | ( -- value ) |
kCFRunLoopRunStopped | ( -- value ) |
kCFRunLoopRunTimedOut | ( -- value ) |
reset-thread-timer | ( -- ) |
run-one-iteration | ( nanos -- handled? ) |
thread-timer-callback | ( -- callback ) |
Word | Stack effect |
run-loop-state? | ( object -- ? ) |