YYDispatchQueuePool icon indicating copy to clipboard operation
YYDispatchQueuePool copied to clipboard

iOS utility class to manage global dispatch queue.

Results 12 YYDispatchQueuePool issues
Sort by recently updated
recently updated
newest added

虽然看了RADME, 读了代码,but依旧无法理解在什么场景中,需要用YYDispatchQueuePool来替换NSOperationQueue。

没有明显感觉到系统开启多个GCD线程导致卡顿

为了问题简单化,我的qos都是最高的 4核,如果我有40个任务放到queue中,这样4个queue都是10个任务串行,其中一个queue的线程死锁了,是不是死锁的这个线程不能执行后面的任务,如果是这样的话,是不是设计部缺陷,,

#define MAX_QUEUE_COUNT 32 int count = (int)[NSProcessInfo processInfo].activeProcessorCount; count = count < 1 ? 1 : count > MAX_QUEUE_COUNT ? MAX_QUEUE_COUNT : count; iPhone在代码上获取处理器个数count为2,而且这个count应该不会超过32吧?

项目是Objective-C++,有很多.mm文件。手动引入后报这个错误,手动把.h.m拖到工程里面的。 Undefined symbols for architecture arm64: "YYDispatchQueueGetForQOS(NSQualityOfService)", referenced from: -[CameraManager queue] in CameraManager.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use...

dispatch_queue_attr_make_with_qos_class, NSQualityOfService are introduced in iOS 8.

你好,请问 dispatch_async(self.mainQueue, ^{ dispatch_sync(self.subQueue, ^{ NSLog(@"%@", [NSThread currentThread]); 这种,chatMainQueue使用YYDispatchQueuePool的queue,或者使用一个SERIAL的queue,是有创建新的NSThread,这种好像系统控制了资源分配,可是当处理比较长,创建的NSThread越多,内存问题就越大。不知是否有可行办法。 实现非主线程的串行队列,也是想控制其在一个或者固定几个NSThread执行,然后再回到主线程更新UI。

如题,系统输入法打fo, 点击for 会变成 fo r 搜狗输入法 点击联想词汇插入到后面。变成了fofor UITextView不会有问题。对应英文输入的用户有很大困扰,希望能够修复

I believe that this is because symbols are expected from shared library instead of dynamic one ![image](https://cloud.githubusercontent.com/assets/400659/13729906/f9ba3eb4-e950-11e5-895a-48e68e017d05.png)

bug