VirtualBox

Changeset 7490 in vbox


Ignore:
Timestamp:
Mar 18, 2008 9:01:15 PM (17 years ago)
Author:
vboxsync
Message:

RTTimerCreate is in generic code for a year now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp

    r2981 r7490  
    109109
    110110
    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 
    126111RTDECL(int) RTTimerCreateEx(PRTTIMER *ppTimer, uint64_t u64NanoInterval, unsigned fFlags, PFNRTTIMER pfnTimer, void *pvUser)
    127112{
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette