Changeset 33475 in vbox for trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_net.c
- Timestamp:
- Oct 26, 2010 5:23:54 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67067
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_net.c
r32499 r33475 120 120 CRPackBuffer *buf; 121 121 122 #ifdef CHROMIUM_THREADSAFE 122 123 crLockMutex(&_PackMutex); 124 #endif 123 125 124 126 /* we should _always_ pass a valid <arg> value */ 125 127 CRASSERT(thread); 128 #ifdef CHROMIUM_THREADSAFE 129 CR_LOCK_PACKER_CONTEXT(thread->packer); 130 #endif 126 131 ctx = thread->currentContext; 127 132 buf = &(thread->buffer); … … 145 150 crPackSetBuffer( thread->packer, buf ); 146 151 crPackResetPointers(thread->packer); 152 #ifdef CHROMIUM_THREADSAFE 153 CR_UNLOCK_PACKER_CONTEXT(thread->packer); 147 154 crUnlockMutex(&_PackMutex); 155 #endif 148 156 return; 149 157 } … … 173 181 crPackResetPointers(thread->packer); 174 182 183 #ifdef CHROMIUM_THREADSAFE 184 CR_UNLOCK_PACKER_CONTEXT(thread->packer); 175 185 crUnlockMutex(&_PackMutex); 186 #endif 176 187 } 177 188
Note:
See TracChangeset
for help on using the changeset viewer.