mention that detached threads shouldn't be deleted

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-06-30 23:21:49 +00:00
parent 85fab316d6
commit ed446867f5

View File

@ -26,7 +26,9 @@ 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 as well. Don't create global thread objects because they allocate
memory in their constructor, which will cause problems for the memory checking
system.
system. Finally, another consequence of the handling of the above is that you
should never delete a detached thread yourself, as this will be done by the
thread itself when it terminates.
\wxheading{Derived from}