SSWKURL icon indicating copy to clipboard operation
SSWKURL copied to clipboard

线程问题

Open kiddhmh opened this issue 3 years ago • 0 comments

大佬,请问是在主线程执行还是创建子线程?我看demo里先创建了子线程又获取主线程

  • (dispatch_queue_t)queue { if (!_queue) { _queue = dispatch_queue_create("SSWKURLHandler.queue", DISPATCH_QUEUE_SERIAL); _queue = dispatch_get_main_queue(); } return _queue; }

image

kiddhmh avatar Jun 01 '22 09:06 kiddhmh