Contents

CFNetServiceBrowserUnscheduleFromRunLoop(_:_:_:)

Unschedules a CFNetServiceBrowser from a run loop and mode.

Declaration

func CFNetServiceBrowserUnscheduleFromRunLoop(_ browser: CFNetServiceBrowser, _ runLoop: CFRunLoop, _ runLoopMode: CFString)

Parameters

  • browser:

    The CFNetServiceBrowser that is to be unscheduled; cannot be NULL.

  • runLoop:

    The run loop; cannot be NULL.

  • runLoopMode:

    The mode from which the browser is to be unscheduled; cannot be NULL.

Discussion

Call this function to shut down a browser that is running asynchronously. To complete the shutdown, call CFNetServiceBrowserInvalidate(_:) followed by CFNetServiceBrowserStopSearch(_:_:).

Special Considerations

This function is thread safe.

See Also

Network Services