Changeset 35845 in vbox
- Timestamp:
- Feb 4, 2011 7:11:09 AM (14 years ago)
- Location:
- trunk/src/VBox/Additions/common/crOpenGL/pack
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r35844 r35845 134 134 && pack_spu.thread[i].packer && pack_spu.thread[i].packer->currentBuffer) 135 135 { 136 crUnlockMutex(&_PackMutex);137 136 packspuFlush((void *) &pack_spu.thread[i]); 138 137 break; … … 146 145 */ 147 146 thread->netServer.conn->u32InjectClientID=0; 148 crUnlockMutex(&_PackMutex); 149 } 147 } 148 149 crUnlockMutex(&_PackMutex); 150 150 151 151 packspuFlush((void *) thread); -
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_net.c
r33475 r35845 120 120 CRPackBuffer *buf; 121 121 122 #ifdef CHROMIUM_THREADSAFE123 crLockMutex(&_PackMutex);124 #endif125 126 122 /* we should _always_ pass a valid <arg> value */ 127 CRASSERT(thread );123 CRASSERT(thread && thread->inUse); 128 124 #ifdef CHROMIUM_THREADSAFE 129 125 CR_LOCK_PACKER_CONTEXT(thread->packer); … … 152 148 #ifdef CHROMIUM_THREADSAFE 153 149 CR_UNLOCK_PACKER_CONTEXT(thread->packer); 154 crUnlockMutex(&_PackMutex);155 150 #endif 156 151 return; … … 183 178 #ifdef CHROMIUM_THREADSAFE 184 179 CR_UNLOCK_PACKER_CONTEXT(thread->packer); 185 crUnlockMutex(&_PackMutex);186 180 #endif 187 181 }
Note:
See TracChangeset
for help on using the changeset viewer.