Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Synchronously adds a barrier task to the target queue. It is the sync version of dispatch_barrier_async.
void dispatch_barrier_sync(dispatch_queue_t queue, dispatch_block_t block);
Parameter |
Type |
Description |
|---|---|---|
queue |
dispatch_queue_t |
Target queue. |
block |
dispatch_block_t |
Task to add. |
Type |
Description |
|---|---|
void |
- |