Possible Duplicate:
Dispatch queues: How to tell if they're running and how to stop them
Is there a way to stop / abort a specific queue ? If my created queue is:
dispatch_queue_t queue;
queue = dispatch_queue_create("com.example.MyQueue", NULL);
Can i then somehow abort this queue on for example a buttonclick? so basically i want this:
dispatch_queue_abort("com.example.MyQueue");
Thanks :)