[PATCH] Implicitly convert C++ wrappers to ObjC objects in @synchronized.
jordan_rose at apple.com
Tue Aug 5 18:21:47 PDT 2014
I feel obliged to advise you to switch away to @synchronized to something more efficient and more appropriate for your use case. I'm not sure it's worth improving @synchronized when it's really not a good default choice for concurrency protection.
On Aug 2, 2014, at 18:17 , Grant Paul <grant at grantpaul.com> wrote:
> Attached is a patch to allow implicitly converting C++ wrapper objects in @synchronized. Many projects (Chromium, MobileCydia, etc) use RAII-based handles for Objective-C objects, but are not able to use those handles in @synchronized without an explicit cast.
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
More information about the cfe-commits