VirtualBox

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

*: Use RTLISTANCHOR.

Location:
trunk/src/VBox/Additions/common/VBoxService
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • 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