Unschedules a CFNetServiceBrowser from a run loop and mode.
SDKs
- iOS 2.0+
- macOS 10.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- CFNetwork
Declaration
void CFNetServiceBrowserUnscheduleFromRunLoop(CFNet Service Browser Ref browser, CFRun Loop Ref runLoop, CFString Ref runLoopMode);
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 CFNet
followed by CFNet
.
Special Considerations
This function is thread safe.