core-foundation.run-loop vocabulary
Factor handbook ยป Vocabulary index


Summary
CoreFoundation run loop integration

Metadata
Parents:core-foundation
Authors:Slava Pestov
Platforms:macos


Words

Tuple classes
ClassSuperclassSlots
run-loop-state tuplefds sources timers


Symbol words
CFRunLoopRef
CFRunLoopSourceRef
run-loop
thread-timer


Ordinary words
WordStack 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 )


Class predicate words
WordStack effect
run-loop-state?( object -- ? )


Files


Metadata files