If you take a look at VC98\CRT\SRC\THREADEX.C you'll find that _endthreadex() is called internally by _threadstarterex().
To make a clean thread stop from outside use an event (kernel object) for example. Its state (signalled or not signalled) you can check time to time with the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.