Use _beginthread() and _endthread() in favor of CreateThread() and ExitThread().  As discussed in c.l.p, this takes care of initialization and finalization of thread-local storage allocated by the C runtime system.  Not sure whether non-MS compilers grok this though (but who cares :-).
Use _beginthread() and _endthread() in favor of CreateThread() and
ExitThread().  As discussed in c.l.p, this takes care of
initialization and finalization of thread-local storage allocated by
the C runtime system.  Not sure whether non-MS compilers grok this
though (but who cares :-).

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator