Changeset 5697 in vbox
- Timestamp:
- Nov 12, 2007 4:49:50 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r5678 r5697 36 36 37 37 #include "SUPDRV.h" 38 #include <iprt/semaphore.h> 38 39 #include <iprt/spinlock.h> 39 40 #include <iprt/process.h> … … 296 297 case DDI_RESUME: 297 298 { 298 int rc = RTTimerStart(g_DevExt.pGipTimer, 0); 299 AssertRC(rc); 299 RTSemFastMutexRequest(g_DevExt.mtxGip); 300 if (g_DevExt.pGipTimer) 301 RTTimerStart(g_DevExt.pGipTimer, 0); 302 303 RTSemFastMutexRelease(g_DevExt.mtxGip); 300 304 return DDI_SUCCESS; 301 305 } … … 351 355 case DDI_SUSPEND: 352 356 { 353 int rc = RTTimerStop(g_DevExt.pGipTimer); 354 AssertRC(rc); 357 RTSemFastMutexRequest(g_DevExt.mtxGip); 358 if (g_DevExt.pGipTimer && g_DevExt.cGipUsers > 0) 359 RTTimerStop(g_DevExt.pGipTimer); 360 361 RTSemFastMutexRelease(g_DevExt.mtxGip); 355 362 return DDI_SUCCESS; 356 363 }
Note:
See TracChangeset
for help on using the changeset viewer.