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

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -