Changeset 3804 in vbox for trunk/src/VBox
- Timestamp:
- Jul 24, 2007 9:32:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxSeamless.cpp
r3803 r3804 188 188 break; 189 189 } 190 191 /* Retry the change a bit later. */192 /* are we supposed to stop? */193 if (WaitForSingleObject(pCtx->pEnv->hStopEvent, 1000) == WAIT_OBJECT_0)194 {195 fTerminate = true;196 break;197 }198 190 break; 199 191 } … … 201 193 { 202 194 dprintf(("VBoxSeamlessThread: error from DeviceIoControl IOCTL_VBOXGUEST_VMMREQUEST\n")); 203 /* sleep a bit to not eat too much CPU while retrying */204 /* are we supposed to stop?*/205 if (WaitForSingleObject(pCtx->pEnv->hStopEvent, 50) == WAIT_OBJECT_0)206 {207 fTerminate = true;208 break;209 }195 } 196 /* sleep a bit to not eat too much CPU while retrying */ 197 /* are we supposed to stop? */ 198 if (WaitForSingleObject(pCtx->pEnv->hStopEvent, 50) == WAIT_OBJECT_0) 199 { 200 fTerminate = true; 201 break; 210 202 } 211 203 }
Note:
See TracChangeset
for help on using the changeset viewer.