c - _beginthread vs CreateThread -
what difference between createthread , beginthread apis in windows? 1 preferrable thread creation?
_beginthread() , _beginthreadex() required earlier versions of microsoft crt initialize thread-local state. strtok() function example. that's been fixed, state gets dynamically initialized, @ least since vs2005. using createthread() no longer causes problems.
Comments
Post a Comment