wxWidgets/samples/thread
Vadim Zeitlin 44f4afd2da Fix, or at least make less common, deadlock in the thread sample.
Don't always deadlock when "Stop the last spawned thread" menu command is
selected. There is still a problem with a race condition which could result in
a crash when dereferencing an invalid pointer, but at least this doesn't
happen all the time, unlike the current bug.

Of course, the real solution would be to properly rewrite the sample to show
how thread deletion should be handled correctly...

See #14891.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-02-24 13:48:57 +00:00
..
descrip.mms add compile support for thread sample on OpenVMS 2011-09-12 10:57:44 +00:00
makefile.bcc Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
makefile.gcc Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
Makefile.in Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
makefile.unx Remove wxMGL port. 2012-01-15 14:46:41 +00:00
makefile.vc Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
makefile.wat Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
thread_vc7.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
thread_vc8.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
thread_vc9.vcproj Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00
thread.bkl
thread.cpp Fix, or at least make less common, deadlock in the thread sample. 2013-02-24 13:48:57 +00:00
thread.dsp Don't include wxUniversal configurations in MSVC project files. 2013-01-21 16:37:01 +00:00