You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/05 08:36:39 UTC

[GitHub] ECNU3D commented on issue #452: [Discussion]Why not use nsoperation queue instead of dispatch queue in CDVCommandDelegateImpl.m?

ECNU3D commented on issue #452: [Discussion]Why not use nsoperation queue instead of dispatch queue in CDVCommandDelegateImpl.m?
URL: https://github.com/apache/cordova-ios/issues/452#issuecomment-435793548
 
 
   
   ![sample](https://user-images.githubusercontent.com/3654511/47986723-86183c00-e118-11e8-88f2-6de85cf56de3.png)
   
   Attached the screenshot when deadlock happen, the **SyncArraryQueue** is the same as **DispatchQueue** mentioned above. The **wrap_dispatch_sync** is blocked by Disptachqueue.async as async is set as a barrier for **SyncArraryQueue**. And the async task in SyncArraryQueue is pending as the GCD has reach the thread limitation. In normal case, the deadlock should not happen. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org