Lines Matching refs:queue
65 * IODispatchQueue provides a queue for ordered execution of blocks.
69 * By default the queue is serial and will execute one block at a time.
76 * @brief Creates a new dispatch queue object.
77 …* @discussion Creates a new dispatch queue object. All queues are currently serial, executing one…
80 kIODispatchQueueReentrant Creates a queue that allows release with the Sleep
81 method, so that other threads and callers may acquire the queue.
90 IODispatchQueue ** queue) LOCAL;
99 * @brief Determines if the current thread is running on the queue.
100 …iscussion Determines if the current thread is running on the queue, including if the queue invoke…
101 …* second queue (ie. OnQueue can return true for more than one queue in a given contex…
102 * @return bool true if current thread is running on this queue.
108 * @brief Return the name the queue was created with.
109 * @discussion Returns a pointer to the queues name. Only valid while the queue is retained.
116 * @brief Stop the queue from executing futher work.
117 …* @discussion Stops the queue from dequeuing work, and on completion of any block currently being…
119 * @param handler Block that will executed when the queue has completed any inflight work
127 * @brief Schedule a block to be executed on the queue asynchronously.
128 …* @discussion Schedules work to be done on the queue without waiting for it to complete. The queu…
130 * @param block Block that will executed on the queue, not in the context of the caller.
143 * @discussion Schedules work to be done on the queue without waiting for it to complete, and
144 … * concurrently with other blocks executed with DispatchConcurrent. The queue will be
145 * retained until the block completes. May only be used with a queue created with
147 * @param block Block that will executed on the queue, not in the context of the caller.
159 * @brief Execute a block on the queue synchronously.
160 * @discussion Execute a block on the queue synchronously.
161 * @param block Block that will executed on the queue.
186 * @brief Put a thread that is currently running the queue to sleep, releasing the queue.
187 * @discussion Put a thread to sleep waiting for an event but release the queue first.
188 … * In all cases (signal, timeout or error), the caller resumes running on the queue.
189 * The caller must be currently running on the queue to call Sleep().
200 * @brief Put a thread that is currently running the queue to sleep, releasing the queue.
201 * @discussion Put a thread to sleep waiting for an event but release the queue first.
202 … * In all cases (signal, timeout or error), the caller resumes running on the queue.
203 * The caller must be currently running on the queue to call Sleep().
219 * @discussion Signals a thread that gave up the queue with Sleep() to continue running.
220 * The caller must be currently running on the queue.
229 * @discussion Signals a thread that gave up the queue with Sleep() to continue running.
230 * The caller must be currently running on the queue.