Changeset 34336 in vbox
- Timestamp:
- Nov 24, 2010 6:36:40 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68099
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c
r33988 r34336 125 125 126 126 crLockMutex(&_PackMutex); 127 127 128 /*Make sure we process commands in order they should appear, so flush thread being injected first*/ 128 129 for (i=0; i<MAX_THREADS; ++i) … … 137 138 } 138 139 } 140 139 141 if (i>=MAX_THREADS) 140 142 { 141 crWarning("packspu: inject for invalid client id"); 143 /*Thread we're supposed to inject commands for has been detached, 144 so there's nothing to sync with and we should just pass commands through our own connection. 145 */ 146 thread->netServer.conn->u32InjectClientID=0; 142 147 } 143 148 crUnlockMutex(&_PackMutex); … … 436 441 { 437 442 GET_THREAD(thread); 438 CRASSERT(thread && thread->netServer.conn && thread->netServer.conn->type==CR_VBOXHGCM); 443 444 CRASSERT(thread && thread->netServer.conn && thread->netServer.conn->type==CR_VBOXHGCM && thread->bInjectThread); 439 445 thread->netServer.conn->u32InjectClientID = id; 440 446 }
Note:
See TracChangeset
for help on using the changeset viewer.