What\'s a better way to start a thread, _beginthread, _beginthreadx or CreateThread?
I\'m trying to determine what are the adv
If you read the book Debugging Windows Application From Jeffrey Richter in it he explains that almost in all instances you must call _beginthreadex instead of calling CreateThread. _beginthread is just a simplified wrapper around _beginthreadex.
_beginthreadex initializes certain CRT (C RunTime) internals that the CreateThread API would not do.
A consequence if you use the CreateThread API instead of using _begingthreadex calls to CRT functions might unexpected cause issues.
Check out this old Microsoft Journal From Richter.