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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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

openssl - Load PKCS#8 binary key into Ruby -