Search code examples
iosobjective-cmultithreadingnsoperationqueue

Difference between NSOperationQueue: currentQueue/new?


I'm trying to figure out what is the difference between those 2.

Does it mean currentQueue cannot be mainQueue or it's a wrong assumption?


Solution

  • currentQueue return mainQueue if you call it in main-thread. new is new queue with new threads