0

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 :)

Community
  • 1
  • 1
Roskvist
  • 1,030
  • 3
  • 14
  • 24

1 Answers1

-1

There is no api to cancel a queue.. you can refer to this answer for more details.. https://stackoverflow.com/a/1551056/919545

Community
  • 1
  • 1
Ankit Srivastava
  • 12,347
  • 11
  • 63
  • 115