Re: dispatch_get_current_queue
bartramf@...
Take a look at `dispatchPrecondition` to test whether code is executing on a specific queue in a pattern like:
func foo() {
dispatchPrecondition(condition: .onQueue(mySpecialQueue))
...
}
-- Hope it helps. Frederick "Rick" Bartram bartramf@... PGP key id: 0x4193BED2 key server: http://pgp.mit.edu
|
|