Changeset 39007 in vbox for trunk/src/VBox/Runtime/r0drv/linux
- Timestamp:
- Oct 17, 2011 2:51:37 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 74410
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/timer-r0drv-linux.c
r39004 r39007 1406 1406 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE); 1407 1407 RTTIMERLNX_LOG(("destroy %p\n", pTimer)); 1408 /** @todo We should invalidate the magic here! */ 1408 1409 1409 1410 /* … … 1451 1452 1452 1453 if (fCanDestroy) 1453 rtTimerLnxDestroyIt(pTimer); 1454 { 1455 /* For paranoid reasons, defer actually destroying the semaphore when 1456 in atomic or interrupt context. */ 1457 if (in_atomic() || in_interrupt()) 1458 rtR0LnxWorkqueuePush(&pTimer->DtorWorkqueueItem, rtTimerLnxDestroyDeferred); 1459 else 1460 rtTimerLnxDestroyIt(pTimer); 1461 } 1454 1462 1455 1463 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.