On Tue, Jul 23, 2013 at 11:22 AM, Joshua Cranmer 🐧 <pidgeo...@gmail.com>wrote:

> 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
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/**listinfo/dev-platform<https://lists.mozilla.org/listinfo/dev-platform>
>

To be clear, which classes have threadsafe addref/release hasn't changed,
just the macro usage, right?

- Kyle
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to