VirtualBox

Changeset 36472 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 30, 2011 9:59:55 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70856
Message:

addendum to r70394 for RTCrit*

Location:
trunk/src/VBox/Runtime
Files:
2 edited

Legend:

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

    r33269 r36472  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31#define CRITSECT_WITHOUT_REMAPPING
    3132#include <iprt/critsect.h>
    3233#include "internal/iprt.h"
     
    4142
    4243
    43 #undef RTCritSectInit
    4444RTDECL(int) RTCritSectInit(PRTCRITSECT pCritSect)
    4545{
     
    164164
    165165
    166 #undef RTCritSectTryEnter
    167166RTDECL(int) RTCritSectTryEnter(PRTCRITSECT pCritSect)
    168167{
     
    283282
    284283
    285 #undef RTCritSectEnter
    286284RTDECL(int) RTCritSectEnter(PRTCRITSECT pCritSect)
    287285{
     
    426424
    427425
    428 #undef RTCritSectEnterMultiple
    429426RTDECL(int) RTCritSectEnterMultiple(size_t cCritSects, PRTCRITSECT *papCritSects)
    430427{
  • trunk/src/VBox/Runtime/testcase/tstRTCritSect.cpp

    r28800 r36472  
    3131# include <Windows.h>
    3232#endif
     33#define CRITSECT_WITHOUT_REMAPPING
    3334#include <iprt/critsect.h>
    3435
     
    5960#define LOCKERS(sect)   (*(LONG volatile *)&(sect).LockCount)
    6061
    61 #undef RTCritSectInit
    6262DECLINLINE(int) RTCritSectInit(PCRITICAL_SECTION pCritSect)
    6363{
     
    6666}
    6767
    68 #undef RTCritSectEnter
    6968DECLINLINE(int) RTCritSectEnter(PCRITICAL_SECTION pCritSect)
    7069{
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