, , . , , . , , (thread-safe) , , , , . 8, Windows.
strtok , . strtok, , (persistent state) , , , .
Microsoft , LIBCMT.LIB, . , . CreateThread; LIBCMT.LIB , , _beginthreadex. ExitThread _endthreadex.
_beginthreadex _beginthread, . , _beginthread , . , , , . _endthread; .
_beginthreadex Windows, Windows , _beginthread HANDLE, . , _ ; Envirmnt.h. . , , , Visual C++.
LIBCMT.LIB , .
#define _MT , .
<process.h>, _beginthreadex _endthreadex.
_beginthreadex; CreateThread.
_endthreadex return .
, . , , , _ .
, CreateThread , .