CFHostScheduleWithRunLoop(_:_:_:)
Schedules a CFHost on a run loop.
Declaration
func CFHostScheduleWithRunLoop(_ theHost: CFHost, _ runLoop: CFRunLoop, _ runLoopMode: CFString)Parameters
- theHost:
The host to be schedule on a run loop. This value must not be
NULL. - runLoop:
The run loop on which to schedule
theHost. This value must not beNULL. - runLoopMode:
The mode on which to schedule
theHost. This value must not beNULL.
Discussion
Schedules theHost on a run loop, which causes resolutions of the host to be performed asynchronously. The caller is responsible for ensuring that at least one of the run loops on which the host is scheduled is being run.
Special Considerations
This function is thread safe.
See Also
Hosts
CFHostCFHostInfoTypeCFHostClientContextCFHostCancelInfoResolution(_:_:)CFHostCreateCopy(_:_:)CFHostCreateWithAddress(_:_:)CFHostCreateWithName(_:_:)CFHostGetAddressing(_:_:)CFHostGetNames(_:_:)CFHostGetReachability(_:_:)CFHostGetTypeID()CFHostSetClient(_:_:_:)CFHostStartInfoResolution(_:_:_:)CFHostUnscheduleFromRunLoop(_:_:_:)