Changeset 102058 in vbox
- Timestamp:
- Nov 10, 2023 7:56:37 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/proxy/src/nsProxyEventObject.cpp
r101967 r102058 89 89 90 90 #ifdef DEBUG_xpcom_proxy 91 static PRMonitor* mon = nsnull; 91 92 #include <iprt/semaphore.h> 93 94 static RTSEMFASTMUTEX g_hMtxDbg = NIL_RTSEMFASTMUTEX; 92 95 static PRUint32 totalProxyObjects = 0; 93 96 static PRUint32 outstandingProxyObjects = 0; … … 97 100 { 98 101 99 if ( mon == nsnull)102 if (g_hMtxDbg == NIL_RTSEMFASTMUTEX) 100 103 { 101 mon = PR_NewMonitor(); 102 } 103 104 PR_EnterMonitor(mon); 104 int vrc = RTSemFastMutexCreate(&g_hMtxDbg); 105 AssertRC(vrc); RT_NOREF(vrc); 106 } 107 108 RTSemFastMutexRequest(g_hMtxDbg); 105 109 106 110 if (message) … … 153 157 printf("-=-=-=-=-=-=-=-=-=-=-=-=-\n"); 154 158 155 PR_ExitMonitor(mon);159 RTSemFastMutexRelease(g_hMtxDbg); 156 160 } 157 161 #endif
Note:
See TracChangeset
for help on using the changeset viewer.

