wxThread::Entry documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,7 +58,7 @@ One of:
|
|||||||
|
|
||||||
\membersection{wxThread::Delete}\label{wxthreaddelete}
|
\membersection{wxThread::Delete}\label{wxthreaddelete}
|
||||||
|
|
||||||
\func{\void}{Delete}{\void}
|
\func{void}{Delete}{\void}
|
||||||
|
|
||||||
This function should be called to terminate this thread. Unlike \helpref{Kill}{wxthreadkill}, it
|
This function should be called to terminate this thread. Unlike \helpref{Kill}{wxthreadkill}, it
|
||||||
gives the target thread the time to terminate gracefully. Because of this, however, this function
|
gives the target thread the time to terminate gracefully. Because of this, however, this function
|
||||||
@@ -70,6 +70,16 @@ Delete() may be called for thread in any state: running, paused or even not yet
|
|||||||
it must be called if \helpref{Create}{wxthreadcreate} or \helpref{Run}{wxthreadrun} fail to free
|
it must be called if \helpref{Create}{wxthreadcreate} or \helpref{Run}{wxthreadrun} fail to free
|
||||||
the memory occupied by the thread object.
|
the memory occupied by the thread object.
|
||||||
|
|
||||||
|
\membersection{wxThread::Entry}\label{wxthreadentry}
|
||||||
|
|
||||||
|
\func{virtual void *}{Entry}{\void}
|
||||||
|
|
||||||
|
This is the entry point of the thread. This function is pure virtual and must
|
||||||
|
be implemented by any derived class. The thread execution will start here.
|
||||||
|
|
||||||
|
The returned value is the thread exit code but is currently ignored in
|
||||||
|
wxWindows implementation (this will change in near future).
|
||||||
|
|
||||||
\membersection{wxThread::GetID}\label{wxthreadgetid}
|
\membersection{wxThread::GetID}\label{wxthreadgetid}
|
||||||
|
|
||||||
\constfunc{unsigned long}{GetID}{\void}
|
\constfunc{unsigned long}{GetID}{\void}
|
||||||
|
Reference in New Issue
Block a user