VirtualBox

Changeset 56585 in vbox


Ignore:
Timestamp:
Jun 22, 2015 6:47:32 PM (9 years ago)
Author:
vboxsync
Message:

xpcom: Make nsExceptionManager use thread safe reference counting. The class at such is single threaded and there is one manager per thread but nsExceptionService::DropAllThreads() can be called from other threads as explained in the comment slightly above

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/base/nsExceptionService.cpp

    r5522 r56585  
    117117// build. Since it is quite annoying, we use a special ReleaseQuiet() mehtod
    118118// in DoDropThread() to shut them up.
    119 NS_IMPL_ISUPPORTS1(nsExceptionManager, nsIExceptionManager)
     119NS_IMPL_THREADSAFE_ISUPPORTS1(nsExceptionManager, nsIExceptionManager)
    120120
    121121nsExceptionManager::nsExceptionManager(nsExceptionService *svc) :
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette