Changeset 49470 in vbox for trunk/src/VBox
- Timestamp:
- Nov 13, 2013 2:58:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/load.c
r48487 r49470 210 210 #endif 211 211 212 /* Try to keep a consistent locking order. */ 213 crHashtableLock(stub.windowTable); 212 214 #if defined(CR_NEWWINTRACK) && !defined(WINDOWS) 213 215 crLockMutex(&stub.mutex); … … 215 217 216 218 stubCheckWindowState(context->currentDrawable, GL_TRUE); 217 crHashtableWalk (stub.windowTable, stubCheckWindowsCB, context);219 crHashtableWalkUnlocked(stub.windowTable, stubCheckWindowsCB, context); 218 220 219 221 #if defined(CR_NEWWINTRACK) && !defined(WINDOWS) 220 222 crUnlockMutex(&stub.mutex); 221 223 #endif 224 crHashtableUnlock(stub.windowTable); 222 225 } 223 226 … … 892 895 } 893 896 #else 897 /* Try to keep a consistent locking order. */ 898 crHashtableLock(stub.windowTable); 894 899 crLockMutex(&stub.mutex); 895 crHashtableWalk (stub.windowTable, stubSyncTrCheckWindowsCB, NULL);900 crHashtableWalkUnlocked(stub.windowTable, stubSyncTrCheckWindowsCB, NULL); 896 901 crUnlockMutex(&stub.mutex); 902 crHashtableUnlock(stub.windowTable); 897 903 RTThreadSleep(50); 898 904 #endif
Note:
See TracChangeset
for help on using the changeset viewer.