VirtualBox

Ignore:
Timestamp:
Jan 11, 2010 2:45:34 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56467
Message:

iprt: Use RTMSINTERVAL for timeouts. Fixed missing timeout underflow checks in two RTFileAioCtxWait implementations.

Location:
trunk/src/VBox/Runtime/r0drv/solaris
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/semevent-r0drv-solaris.c

    r25717 r25724  
    183183
    184184
    185 static int rtSemEventWait(RTSEMEVENT hEventSem, unsigned cMillies, bool fInterruptible)
     185static int rtSemEventWait(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies, bool fInterruptible)
    186186{
    187187    int rc;
     
    270270
    271271
    272 RTDECL(int)  RTSemEventWait(RTSEMEVENT hEventSem, unsigned cMillies)
     272RTDECL(int)  RTSemEventWait(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies)
    273273{
    274274    return rtSemEventWait(hEventSem, cMillies, false /* not interruptible */);
     
    276276
    277277
    278 RTDECL(int)  RTSemEventWaitNoResume(RTSEMEVENT hEventSem, unsigned cMillies)
     278RTDECL(int)  RTSemEventWaitNoResume(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies)
    279279{
    280280    return rtSemEventWait(hEventSem, cMillies, true /* interruptible */);
  • trunk/src/VBox/Runtime/r0drv/solaris/semeventmulti-r0drv-solaris.c

    r25720 r25724  
    217217
    218218
    219 static int rtSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, unsigned cMillies, bool fInterruptible)
     219static int rtSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies, bool fInterruptible)
    220220{
    221221    int rc;
     
    301301
    302302
    303 RTDECL(int)  RTSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, unsigned cMillies)
     303RTDECL(int)  RTSemEventMultiWait(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies)
    304304{
    305305    return rtSemEventMultiWait(hEventMultiSem, cMillies, false /* not interruptible */);
     
    307307
    308308
    309 RTDECL(int)  RTSemEventMultiWaitNoResume(RTSEMEVENTMULTI hEventMultiSem, unsigned cMillies)
     309RTDECL(int)  RTSemEventMultiWaitNoResume(RTSEMEVENTMULTI hEventMultiSem, RTMSINTERVAL cMillies)
    310310{
    311311    return rtSemEventMultiWait(hEventMultiSem, cMillies, true /* interruptible */);
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/thread-r0drv-solaris.c

    r25183 r25724  
    5050
    5151
    52 RTDECL(int) RTThreadSleep(unsigned cMillies)
     52RTDECL(int) RTThreadSleep(RTMSINTERVAL cMillies)
    5353{
    5454    clock_t cTicks;
Note: See TracChangeset for help on using the changeset viewer.

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