in case you didn't see this on dev-platform.. this affects a lot of necko code as we heavily utilize multiple threads.
---------- Forwarded message ---------- From: Joshua Cranmer 🐧 <[email protected]> Date: Tue, Jul 23, 2013 at 2:22 PM Subject: Changes to XPCOM refcounting To: [email protected] As part of an effort to remove use of the NSPR atomic macros in favor of mozilla::Atomic, the way that threadsafe reference counting works in XPCOM has changed. Whereas before, this was done using the macros by saying NS_IMPL_THREADSAFE_ISUPPORTSN (or related macros), now the threadsafe declaration has been changed to NS_DECL_THREADSAFE_ISUPPORTS in the class body. All of the affected NS_IMPL_THREADSAFE macros have been removed as a result, which may cause some patch bustage. Also related to this change, the NS_AtomicRefcnt functions and nsAtomicRefcnt.h itself have been removed (use mozilla::ThreadSafeAutoRefcnt instead). This change is being tracked in bug 884061 and has landed in mozilla-inbound already. -- Joshua Cranmer Thunderbird and DXR developer Source code archæologist ______________________________**_________________ dev-platform mailing list [email protected] https://lists.mozilla.org/**listinfo/dev-platform<https://lists.mozilla.org/listinfo/dev-platform> _______________________________________________ dev-tech-network mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-network
