Changeset 37986 in vbox for trunk/src/VBox/GuestHost/OpenGL
- Timestamp:
- Jul 15, 2011 3:14:35 PM (13 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/include/cr_hash.h
r15532 r37986 36 36 /*Returns GL_TRUE if given hashtable hold the data, pKey is updated with key value for data in this case*/ 37 37 DECLEXPORT(GLboolean) crHashtableGetDataKey(CRHashTable *pHash, void *pData, unsigned long *pKey); 38 DECLEXPORT(void) crHashtableLock(CRHashTable *h); 39 DECLEXPORT(void) crHashtableUnlock(CRHashTable *h); 38 40 39 41 #ifdef __cplusplus -
trunk/src/VBox/GuestHost/OpenGL/util/hash.c
r31808 r37986 353 353 } 354 354 355 void crHashtableLock(CRHashTable *h) 356 { 357 #ifdef CHROMIUM_THREADSAFE 358 crLockMutex(&h->mutex); 359 #endif 360 } 361 362 void crHashtableUnlock(CRHashTable *h) 363 { 364 #ifdef CHROMIUM_THREADSAFE 365 crUnlockMutex(&h->mutex); 366 #endif 367 } 355 368 356 369 void crHashtableWalk( CRHashTable *hash, CRHashtableWalkCallback walkFunc , void *dataPtr2)
Note:
See TracChangeset
for help on using the changeset viewer.