VirtualBox

Changeset 36492 in vbox for trunk


Ignore:
Timestamp:
Apr 1, 2011 12:53:59 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
70898
Message:

iprt: CRITSECT_WITHOUT_REMAPPING -> RTCRITSECT_WITHOUT_REMAPPING.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/critsect.h

    r36472 r36492  
    44
    55/*
    6  * Copyright (C) 2006-2010 Oracle Corporation
     6 * Copyright (C) 2006-2011 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    333333
    334334/* 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)
    336336# ifdef ___iprt_asm_h
    337337#  define RTCritSectEnter(pCritSect)                        RTCritSectEnterDebug(pCritSect, (uintptr_t)ASMReturnAddress(), RT_SRC_POS)
     
    346346
    347347/* 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)
    349349# define RTCritSectInit(pCritSect) \
    350350    RTCritSectInitEx((pCritSect), 0 /*fFlags*/, \
  • trunk/src/VBox/Runtime/generic/critsect-generic.cpp

    r36472 r36492  
    55
    66/*
    7  * Copyright (C) 2006-2009 Oracle Corporation
     7 * Copyright (C) 2006-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2929*   Header Files                                                               *
    3030*******************************************************************************/
    31 #define CRITSECT_WITHOUT_REMAPPING
     31#define RTCRITSECT_WITHOUT_REMAPPING
    3232#include <iprt/critsect.h>
    3333#include "internal/iprt.h"
  • trunk/src/VBox/Runtime/testcase/tstRTCritSect.cpp

    r36472 r36492  
    55
    66/*
    7  * Copyright (C) 2006-2009 Oracle Corporation
     7 * Copyright (C) 2006-2011 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3131# include <Windows.h>
    3232#endif
    33 #define CRITSECT_WITHOUT_REMAPPING
     33#define RTCRITSECT_WITHOUT_REMAPPING
    3434#include <iprt/critsect.h>
    3535
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