X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d9e5e5a3d23c296bff73e75192368d09144084d..f925f24de8a4e6aa116efed61ab77ec08b686c67:/docs/latex/wx/thread.tex diff --git a/docs/latex/wx/thread.tex b/docs/latex/wx/thread.tex index 962df682eb..1fe11c9e73 100644 --- a/docs/latex/wx/thread.tex +++ b/docs/latex/wx/thread.tex @@ -23,9 +23,10 @@ terminate and destroy itself. This means, of course, that all detached threads {\bf must} be created on the heap because the thread will call {\tt delete this;} upon termination. Joinable -threads may be created on the stack although more usually they will be created on the heap. -Don't create global thread objects because they allocate memory in their constructor, -which will cause problems for the memory checking system. +threads may be created on the stack although more usually they will be created +on the heap as well. Don't create global thread objects because they allocate +memory in their constructor, which will cause problems for the memory checking +system. \wxheading{Derived from} @@ -265,7 +266,9 @@ This function can only be called from another thread context. \func{void}{SetPriority}{\param{int}{ priority}} -Sets the priority of the thread, between zero and 100. This must be set before the thread is created. +Sets the priority of the thread, between $0$ and $100$. It can only be set +after calling \helpref{Create()}{wxthreadcreate} but before calling +\helpref{Run()}{wxthreadrun}. The following priorities are already defined: