VirtualBox

Ignore:
Timestamp:
Dec 21, 2016 11:38:12 AM (8 years ago)
Author:
vboxsync
Message:

Main: ThreadTask: m_hThread shouldn't be an object member

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ThreadTask.h

    r64108 r64972  
    3535public:
    3636    ThreadTask(const Utf8Str &t)
    37         : m_hThread(NIL_RTTHREAD)
    38         , m_strTaskName(t)
     37        : m_strTaskName(t)
    3938        , mAsync(false)
    4039    { }
     
    5453    static DECLCALLBACK(int) taskHandlerThreadProc(RTTHREAD thread, void *pvUser);
    5554
    56     ThreadTask() : m_hThread(NIL_RTTHREAD), m_strTaskName("GenericTask")
     55    ThreadTask() : m_strTaskName("GenericTask")
    5756    { }
    5857
    5958    /** The worker thread handle (may be invalid if the thread has shut down). */
    60     RTTHREAD m_hThread;
    6159    Utf8Str m_strTaskName;
    6260    bool mAsync;
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