Contents

CFRunLoopStop(_:)

Forces a CFRunLoop object to stop running.

Declaration

func CFRunLoopStop(_ rl: CFRunLoop!)

Parameters

  • rl:

    The run loop to stop.

Discussion

This function forces rl to stop running and return control to the function that called CFRunLoopRun() or CFRunLoopRunInMode(_:_:_:) for the current run loop activation. If the run loop is nested with a callout from one activation starting another activation running, only the innermost activation is exited.

See Also

Starting and Stopping a Run Loop