CMSimpleQueueReset(_:)
Resets the queue.
Declaration
func CMSimpleQueueReset(_ queue: CMSimpleQueue) -> OSStatusParameters
- queue:
The queue to reset. Must not be
NULL.
Return Value
Returns noErr if the call succeeds.
Discussion
This function resets the queue to an empty state. CMSimpleQueueReset isn’t synchronized in any way, so the client must hold off the reader thread and writer thread during this operation.