Re[3]: Разбудить поток
От: Andrew S Россия http://alchemy-lab.com
Дата: 17.12.03 15:40
Оценка: 6 (1) +1
PE>>Чтобы будить поток, нужно юзать SleepEx

D>Что то я не вкурил, как это при использовании SleepEx можно потом разбудить поток, т.е. продолжить выполнять именно туже самую функцию?


Плохую траву, видимо, покупаете. Срочно меняйте поставщика. Я вот обычно MSDN курю:

If bAlertable is TRUE and the thread that called this function is the same thread that called the extended I/O function (ReadFileEx or WriteFileEx), the function returns when either the time-out period has elapsed or when an I/O completion callback function occurs. If an I/O completion callback occurs, the I/O completion function is called. If an APC is queued to the thread (QueueUserAPC), the function returns when either the timer-out period has elapsed or when the APC function is called.

http://www.rusyaz.ru/pr — стараемся писАть по-русски
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.