Changeset 102210 in vbox
- Timestamp:
- Nov 21, 2023 2:11:36 PM (17 months ago)
- svn:sync-xref-src-repo-rev:
- 160335
- Location:
- trunk/src/libs/xpcom18a4/xpcom/glue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/glue/nsDebug.h
r1 r102210 39 39 #define nsDebug_h___ 40 40 41 #include <iprt/thread.h> 42 41 43 #ifndef nscore_h___ 42 44 #include "nscore.h" … … 272 274 273 275 #define NS_CheckThreadSafe(owningThread, msg) \ 274 NS_ASSERTION(owningThread == PR_GetCurrentThread(), msg)276 NS_ASSERTION(owningThread == RTThreadSelf(), msg) 275 277 276 278 #endif /* nsDebug_h___ */ -
trunk/src/libs/xpcom18a4/xpcom/glue/nsISupportsImpl.h
r101967 r102210 51 51 #include "nsTraceRefcnt.h" 52 52 #ifdef VBOX 53 # include "iprt/asm.h" 54 # include "iprt/assert.h" 53 # include <iprt/asm.h> 54 # include <iprt/assert.h> 55 # include <iprt/thread.h> 55 56 #endif 56 57 … … 62 63 class nsAutoOwningThread { 63 64 public: 64 nsAutoOwningThread() { mThread = PR_GetCurrentThread(); }65 nsAutoOwningThread() { mThread = RTThreadSelf(); } 65 66 void *GetThread() const { return mThread; } 66 67
Note:
See TracChangeset
for help on using the changeset viewer.