CFRunLoopRunInMode Exit Codes

Return codes for CFRunLoopRunInMode, identifying the reason the run loop exited.

Declaration

enum {
   kCFRunLoopRunFinished = 1,
   kCFRunLoopRunStopped = 2,
   kCFRunLoopRunTimedOut = 3,
   kCFRunLoopRunHandledSource = 4
};

Topics

Constants

kCFRunLoopRunFinished

The running run loop mode has no sources or timers to process.

kCFRunLoopRunStopped

CFRunLoopStop was called on the run loop.

kCFRunLoopRunTimedOut

The specified time interval for running the run loop has passed.

kCFRunLoopRunHandledSource

A source has been processed. This value is returned only if the run loop was told to run only until a source was processed.