Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/102.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/261.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c iphone开发人员:中止调度队列_Objective C_Ios_Queue - Fatal编程技术网

Objective c iphone开发人员:中止调度队列

Objective c iphone开发人员:中止调度队列,objective-c,ios,queue,Objective C,Ios,Queue,可能重复: 是否有方法停止/中止特定队列?如果我创建的队列是: dispatch_queue_t queue; queue = dispatch_queue_create("com.example.MyQueue", NULL); 然后我是否可以通过某种方式中止此队列(例如,单击按钮)?所以基本上我想要这个: dispatch_queue_abort("com.example.MyQueue"); 谢谢:没有用于取消队列的api。。有关更多详细信息,请参阅此答案

可能重复:

是否有方法停止/中止特定队列?如果我创建的队列是:

dispatch_queue_t queue;
queue = dispatch_queue_create("com.example.MyQueue", NULL);
然后我是否可以通过某种方式中止此队列(例如,单击按钮)?所以基本上我想要这个:

dispatch_queue_abort("com.example.MyQueue");

谢谢:

没有用于取消队列的api。。有关更多详细信息,请参阅此答案