wxwidgets/tests/thread
Vadim Zeitlin 345b8ff505 Fix some brokenness in wxThread::Delete() unit test
Don't use sleep in this test as the thread may terminate before it
returns, possibly resulting in crashes that the existing comment warned
about, and definitely resulting in TSAN errors.

Also ensure that the thread doesn't terminate instead of just hoping
that it doesn't do it because it doesn't have time to run 30 iterations
of its entry function by passing the special value of 0 to ctor, which
explicitly prevents the thread from terminating on its own.
2023-03-13 01:17:23 +01:00
..
atomic.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
misc.cpp Fix some brokenness in wxThread::Delete() unit test 2023-03-13 01:17:23 +01:00
queue.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
tls.cpp Remove wxTLS_XXX() macros from wx itself 2022-10-26 03:31:54 +02:00