Changeset 7490 in vbox
- Timestamp:
- Mar 18, 2008 9:01:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp
r2981 r7490 109 109 110 110 111 RTDECL(int) RTTimerCreate(PRTTIMER *ppTimer, unsigned uMilliesInterval, PFNRTTIMER pfnTimer, void *pvUser)112 {113 int rc = RTTimerCreateEx(ppTimer, uMilliesInterval * UINT64_C(1000000), 0, pfnTimer, pvUser);114 if (RT_SUCCESS(rc))115 {116 rc = RTTimerStart(*ppTimer, 0);117 if (RT_SUCCESS(rc))118 return rc;119 int rc2 = RTTimerDestroy(*ppTimer); AssertRC(rc2);120 *ppTimer = NULL;121 }122 return rc;123 }124 125 126 111 RTDECL(int) RTTimerCreateEx(PRTTIMER *ppTimer, uint64_t u64NanoInterval, unsigned fFlags, PFNRTTIMER pfnTimer, void *pvUser) 127 112 {
Note:
See TracChangeset
for help on using the changeset viewer.