syscall_thread_switch iOS 8.3 race - CocoaLumberjack bug? how to debug this?

南笙酒味 提交于 2019-12-04 15:13:32

I hit a similar issue with NSOperations in a NSOperationQueue in iOS 8.3 (not related to CocoaLumberjack). I had concurrent operations creating their own threads, which is no-longer needed. It behaved perfectly well in 8.2, but not 8.3.

In the start method I simply replaced:

[NSThread detachNewThreadSelector:@selector(main) toTarget:self withObject:nil];

With:

[self main];
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!