Function

CFMessagePortSetDispatchQueue(_:_:)

Schedules callbacks for the specified message port on the specified dispatch queue.

Declaration

func CFMessagePortSetDispatchQueue(_ ms: CFMessagePort!, _ queue: DispatchQueue!)

Parameters

ms

The message port to schedule.

queue

The libdispatch queue.

See Also

Using a Message Port

func CFMessagePortInvalidate(CFMessagePort!)

Invalidates a CFMessagePort object, stopping it from receiving or sending any more messages.