VirtualBox

Ignore:
Timestamp:
Dec 2, 2011 1:41:07 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
75190
Message:

*: Use RTLISTANCHOR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/alloc/memtracker.cpp

    r39080 r39515  
    9292    /** Critical section protecting the memory list. */
    9393    RTCRITSECT          CritSect;
    94     /** The list of memory allocated by this user. */
    95     RTLISTNODE          MemoryList;
     94    /** The list of memory allocated by this user (RTMEMTRACKERHDR). */
     95    RTLISTANCHOR        MemoryList;
    9696    /** Positive numbers indicates recursion.
    9797     * Negative numbers are used for the global user since that is shared by
     
    142142    RTCRITSECT          CritSect;
    143143    /** List of RTMEMTRACKERUSER records. */
    144     RTLISTNODE          UserList;
     144    RTLISTANCHOR        UserList;
    145145    /** The next user identifier number.  */
    146146    uint32_t            idUserNext;
     
    155155    AVLU32TREE          TagDbRoot;
    156156    /** List of RTMEMTRACKERTAG records. */
    157     RTLISTNODE          TagList;
     157    RTLISTANCHOR        TagList;
    158158#if ARCH_BITS == 32
    159159    /** Alignment padding. */
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