I am trying to understand what priority is going to be used to run dispatch blocks that are dispatched on a custom serial queue declared as:
dispatch_queue_t queue = dispatch_queue_create("com.purposeOfQueue.queue", DISPATCH_QUEUE_SERIAL);
So, here, I am only saying that "queue" is a serial queue. But, what priority is the system going to use for this queue. I know there's HIGH, DEFAULT, LOW, BACKGROUND.
I also know I could do this:
dispatch_set_target_queue(queue, DISPATCH_QUEUE_PRIORITY_DEFAULT);
Which would make it so the queue get a DEFAULT priority.
But if I just do what I showed above?
dispatch_queue_t queue = dispatch_queue_create("com.purposeOfQueue.queue", DISPATCH_QUEUE_SERIAL);
What priority is that going to use?