Does the Grand Central Dispatch API allow an execution context (thread) to query any thread-specific state during runtime? Specifically, is there a GCD equivalent to the OpenMP call
omp_get_thread_num()?
Does the Grand Central Dispatch API allow an execution context (thread) to query any
Share
If you would like to execute an operation n-times to a bunch of things (like an map operation), you can use
dispatch_apply.