- Timestamp:
- Apr 1, 2011 12:53:59 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70898
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/critsect.h
r36472 r36492 4 4 5 5 /* 6 * Copyright (C) 2006-201 0Oracle Corporation6 * Copyright (C) 2006-2011 Oracle Corporation 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 333 333 334 334 /* Lock strict build: Remap the three enter calls to the debug versions. */ 335 #if defined(RT_LOCK_STRICT) && !defined( CRITSECT_WITHOUT_REMAPPING) && !defined(RT_WITH_MANGLING)335 #if defined(RT_LOCK_STRICT) && !defined(RTCRITSECT_WITHOUT_REMAPPING) && !defined(RT_WITH_MANGLING) 336 336 # ifdef ___iprt_asm_h 337 337 # define RTCritSectEnter(pCritSect) RTCritSectEnterDebug(pCritSect, (uintptr_t)ASMReturnAddress(), RT_SRC_POS) … … 346 346 347 347 /* Strict lock order: Automatically classify locks by init location. */ 348 #if defined(RT_LOCK_STRICT_ORDER) && defined(IN_RING3) && !defined( CRITSECT_WITHOUT_REMAPPING) &&!defined(RT_WITH_MANGLING)348 #if defined(RT_LOCK_STRICT_ORDER) && defined(IN_RING3) && !defined(RTCRITSECT_WITHOUT_REMAPPING) &&!defined(RT_WITH_MANGLING) 349 349 # define RTCritSectInit(pCritSect) \ 350 350 RTCritSectInitEx((pCritSect), 0 /*fFlags*/, \ -
trunk/src/VBox/Runtime/generic/critsect-generic.cpp
r36472 r36492 5 5 6 6 /* 7 * Copyright (C) 2006-20 09Oracle Corporation7 * Copyright (C) 2006-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 29 29 * Header Files * 30 30 *******************************************************************************/ 31 #define CRITSECT_WITHOUT_REMAPPING31 #define RTCRITSECT_WITHOUT_REMAPPING 32 32 #include <iprt/critsect.h> 33 33 #include "internal/iprt.h" -
trunk/src/VBox/Runtime/testcase/tstRTCritSect.cpp
r36472 r36492 5 5 6 6 /* 7 * Copyright (C) 2006-20 09Oracle Corporation7 * Copyright (C) 2006-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 31 31 # include <Windows.h> 32 32 #endif 33 #define CRITSECT_WITHOUT_REMAPPING33 #define RTCRITSECT_WITHOUT_REMAPPING 34 34 #include <iprt/critsect.h> 35 35
Note:
See TracChangeset
for help on using the changeset viewer.