Function

CFRunLoopSourceGetOrder(_:)

Returns the ordering parameter for a CFRunLoopSource object.

Declaration

func CFRunLoopSourceGetOrder(_ source: CFRunLoopSource!) -> CFIndex

Parameters

source

The run loop source to examine.

Return Value

The ordering parameter for source, which the run loop uses (for version 0 sources only) to determine the order in which sources are processed when multiple sources are firing.

See Also

CFRunLoopSource Miscellaneous Functions

func CFRunLoopSourceGetTypeID() -> CFTypeID

Returns the type identifier of the CFRunLoopSource opaque type.

func CFRunLoopSourceInvalidate(CFRunLoopSource!)

Invalidates a CFRunLoopSource object, stopping it from ever firing again.

func CFRunLoopSourceIsValid(CFRunLoopSource!) -> Bool

Returns a Boolean value that indicates whether a CFRunLoopSource object is valid and able to fire.

func CFRunLoopSourceSignal(CFRunLoopSource!)

Signals a CFRunLoopSource object, marking it as ready to fire.