]> git.saurik.com Git - wxWidgets.git/commit
Call wxThread::Create() from Run() automatically.
authorVáclav Slavík <vslavik@fastmail.fm>
Thu, 16 May 2013 14:15:46 +0000 (14:15 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Thu, 16 May 2013 14:15:46 +0000 (14:15 +0000)
commit2e57ca641bf20456d33c9a885945230ecf17d261
tree77eefdb25874235465462e9af9bf81257a306f19
parent0dd300cab599596e15ea46bf494f171edd6f0b08
Call wxThread::Create() from Run() automatically.

In the common case, when Run() is called immediately after Create() and
default stack size is used, it's unnecessarily verbose.  Just create the
thread in Run() if it wasn't done explicitly yet.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
interface/wx/thread.h
src/msw/thread.cpp
src/os2/thread.cpp
src/osx/carbon/thread.cpp
src/unix/threadpsx.cpp