Re[3]: ofstream->close()
От: sch  
Дата: 23.09.05 13:23
Оценка: 15 (1)
"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
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.