"styopkin" <21062@users.rsdn.ru> сообщил/сообщила в новостях следующее:
news:1399315@news.rsdn.ru...
> Потоки запускаю WINBASEAPI HANDLE WINAPI CreateThread(...).
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/vccore/html/_core_C_Run.2d.Time_Library_Functions_for_Thread_Control.htm
If you are going to call C run-time routines from a program built with LIBCMT.LIB, you must start your threads with the _beginthread function. Do not use the Win32 functions ExitThread and CreateThread. Using SuspendThread can lead to a deadlock when more than one thread is blocked waiting for the suspended thread to complete its access to a C run-time data structure.
Posted via RSDN NNTP Server 1.9