added GetKind getter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -555,6 +555,9 @@ public:
|
|||||||
// identifies a thread inside a process
|
// identifies a thread inside a process
|
||||||
wxThreadIdType GetId() const;
|
wxThreadIdType GetId() const;
|
||||||
|
|
||||||
|
wxThreadKind GetKind() const
|
||||||
|
{ return m_isDetached ? wxTHREAD_DETACHED : wxTHREAD_JOINABLE; }
|
||||||
|
|
||||||
// called when the thread exits - in the context of this thread
|
// called when the thread exits - in the context of this thread
|
||||||
//
|
//
|
||||||
// NB: this function will not be called if the thread is Kill()ed
|
// NB: this function will not be called if the thread is Kill()ed
|
||||||
|
@@ -983,6 +983,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
wxThreadIdType GetId() const;
|
wxThreadIdType GetId() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns the thread kind as it was given in the ctor.
|
||||||
|
|
||||||
|
@since 2.9.0
|
||||||
|
*/
|
||||||
|
wxThreadKind GetKind() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Gets the priority of the thread, between zero and 100.
|
Gets the priority of the thread, between zero and 100.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user