VirtualBox

Ignore:
Timestamp:
Jan 28, 2007 8:45:05 AM (18 years ago)
Author:
vboxsync
Message:

Need RTThreadWait in ring-0 too when using the generic timers, so thread.cpp was ported to ring-0. Fixed a bug in RTTimerStart() (the generic code). (hope this doesn't break the other platforms...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/semsrw-generic.cpp

    r1 r403  
    101101
    102102
    103 RTR3DECL(int)   RTSemRWCreate(PRTSEMRW pRWSem)
     103RTDECL(int)   RTSemRWCreate(PRTSEMRW pRWSem)
    104104{
    105105    int rc;
     
    160160
    161161
    162 RTR3DECL(int)   RTSemRWDestroy(RTSEMRW RWSem)
     162RTDECL(int)   RTSemRWDestroy(RTSEMRW RWSem)
    163163{
    164164    /*
     
    235235
    236236
    237 RTR3DECL(int)   RTSemRWRequestRead(RTSEMRW RWSem, unsigned cMillies)
     237RTDECL(int)   RTSemRWRequestRead(RTSEMRW RWSem, unsigned cMillies)
    238238{
    239239    /*
     
    366366
    367367
    368 RTR3DECL(int)   RTSemRWRequestReadNoResume(RTSEMRW RWSem, unsigned cMillies)
     368RTDECL(int)   RTSemRWRequestReadNoResume(RTSEMRW RWSem, unsigned cMillies)
    369369{
    370370    return RTSemRWRequestRead(RWSem, cMillies);
     
    372372
    373373
    374 RTR3DECL(int)   RTSemRWReleaseRead(RTSEMRW RWSem)
     374RTDECL(int)   RTSemRWReleaseRead(RTSEMRW RWSem)
    375375{
    376376    /*
     
    438438
    439439
    440 RTR3DECL(int) RTSemRWRequestWrite(RTSEMRW RWSem, unsigned cMillies)
     440RTDECL(int) RTSemRWRequestWrite(RTSEMRW RWSem, unsigned cMillies)
    441441{
    442442    /*
     
    582582
    583583
    584 RTR3DECL(int) RTSemRWRequestWriteNoResume(RTSEMRW RWSem, unsigned cMillies)
     584RTDECL(int) RTSemRWRequestWriteNoResume(RTSEMRW RWSem, unsigned cMillies)
    585585{
    586586    return RTSemRWRequestWrite(RWSem, cMillies);
     
    589589
    590590
    591 RTR3DECL(int)   RTSemRWReleaseWrite(RTSEMRW RWSem)
     591RTDECL(int)   RTSemRWReleaseWrite(RTSEMRW RWSem)
    592592{
    593593    /*
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