VirtualBox

Changeset 39515 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Dec 2, 2011 1:41:07 PM (13 years ago)
Author:
vboxsync
Message:

*: Use RTLISTANCHOR.

Location:
trunk/src/VBox/Additions
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispCm.cpp

    r38565 r39515  
    2828    HANDLE hEvent;
    2929    CRITICAL_SECTION CritSect;
    30     RTLISTNODE CtxList;
     30    /** List of VBOXWDDMDISP_CONTEXT nodes. */
     31    RTLISTANCHOR CtxList;
    3132    bool bQueryMp;
    3233} VBOXDISPCM_SESSION, *PVBOXDISPCM_SESSION;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.h

    r39150 r39515  
    170170    PVBOXWDDMDISP_ADAPTER pAdapter;
    171171    IDirect3DDevice9 *pDevice9If;
    172     RTLISTNODE SwapchainList;
     172    RTLISTANCHOR SwapchainList;
    173173    UINT u32IfVersion;
    174174    UINT uRtVersion;
     
    194194
    195195    /* no lock is needed for this since we're guaranteed the per-device calls are not reentrant */
    196     RTLISTNODE DirtyAllocList;
     196    RTLISTANCHOR DirtyAllocList;
    197197
    198198    UINT cRTs;
  • trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h

    r38858 r39515  
    121121    /** The physical address of pIrqAckEvents. */
    122122    RTCCPHYS                    PhysIrqAckEvents;
    123     /** Wait-for-event list for threads waiting for multiple events. */
    124     RTLISTNODE                  WaitList;
     123    /** Wait-for-event list for threads waiting for multiple events
     124     * (VBOXGUESTWAIT). */
     125    RTLISTANCHOR                WaitList;
    125126#ifdef VBOX_WITH_HGCM
    126     /** Wait-for-event list for threads waiting on HGCM async completion.
     127    /** Wait-for-event list for threads waiting on HGCM async completion
     128     * (VBOXGUESTWAIT).
     129     *
    127130     * The entire list is evaluated upon the arrival of an HGCM event, unlike
    128      * the other lists which are only evaluated till the first thread has been woken up. */
    129     RTLISTNODE                  HGCMWaitList;
     131     * the other lists which are only evaluated till the first thread has
     132     * been woken up. */
     133    RTLISTANCHOR               HGCMWaitList;
    130134#endif
    131135#ifdef VBOXGUEST_USE_DEFERRED_WAKE_UP
    132     /** List of wait-for-event entries that needs waking up. */
    133     RTLISTNODE                  WakeUpList;
    134 #endif
    135     /** List of wait-for-event entries that has been woken up. */
    136     RTLISTNODE                  WokenUpList;
    137     /** List of free wait-for-event entries. */
    138     RTLISTNODE                  FreeList;
     136    /** List of wait-for-event entries that needs waking up
     137     * (VBOXGUESTWAIT). */
     138    RTLISTANCHOR                WakeUpList;
     139#endif
     140    /** List of wait-for-event entries that has been woken up
     141     * (VBOXGUESTWAIT). */
     142    RTLISTANCHOR                WokenUpList;
     143    /** List of free wait-for-event entries (VBOXGUESTWAIT). */
     144    RTLISTANCHOR                FreeList;
    139145    /** Mask of pending events. */
    140146    uint32_t volatile           f32PendingEvents;
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControl.cpp

    r39437 r39515  
    4646 *  the maximum number of processes is unlimited. */
    4747static uint32_t             g_GuestControlProcsMaxKept = 25;
    48 /** List of guest control threads. */
    49 static RTLISTNODE           g_GuestControlThreads;
     48/** List of guest control threads (VBOXSERVICECTRLTHREAD). */
     49static RTLISTANCHOR         g_GuestControlThreads;
    5050/** Critical section protecting g_GuestControlExecThreads. */
    5151static RTCRITSECT           g_GuestControlThreadsCritSect;
     
    301301                    {
    302302                        /** @todo Put the following params into a struct! */
    303                         RTLISTNODE *pThreadNode;
     303                        PRTLISTNODE pThreadNode;
    304304                        rc = VBoxServiceControlThreadStart(idClient, uContextID,
    305305                                                           szCmd, uFlags, szArgs, cArgs,
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h

    r39427 r39515  
    253253{
    254254    /** The client ID for HGCM communication. */
    255     uint32_t    uClientID;
     255    uint32_t        uClientID;
    256256    /** Head in a list of VBOXSERVICEVEPROPCACHEENTRY nodes. */
    257     RTLISTNODE  NodeHead;
     257    RTLISTANCHOR    NodeHead;
    258258    /** Critical section for thread-safe use. */
    259     RTCRITSECT  CritSect;
     259    RTCRITSECT      CritSect;
    260260} VBOXSERVICEVEPROPCACHE;
    261261/** Pointer to a guest property cache. */
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceToolBox.cpp

    r39385 r39515  
    339339
    340340    /* Init directory list. */
    341     RTLISTNODE inputList;
     341    RTLISTANCHOR inputList;
    342342    RTListInit(&inputList);
    343343
     
    645645    }
    646646
    647     RTLISTNODE dirList;
     647    RTLISTANCHOR dirList;
    648648    RTListInit(&dirList);
    649649
     
    778778
    779779    /* Init file list. */
    780     RTLISTNODE fileList;
     780    RTLISTANCHOR fileList;
    781781    RTListInit(&fileList);
    782782
     
    10411041
    10421042    /* Init file list. */
    1043     RTLISTNODE fileList;
     1043    RTLISTANCHOR fileList;
    10441044    RTListInit(&fileList);
    10451045
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