可唤醒I/O
可唤醒I/O(Alertable I/O)是一种重叠I/O,发起I/O请求的线程在可唤醒状态下(alertable state)执行I/O请求的完成例程。也即完成例程作为回调函数(callback function),被这个线程异步过程调用。[1]
线程只有在执行下述API函数之一,并设置适当的参数标记时,才阻塞于可唤醒状态:
- SleepEx
- WaitForSingleObjectEx
- WaitForMultipleObjectsEx
- SignalObjectAndWait
- MsgWaitForMultipleObjectsEx
参考文献
- . [2017-12-15]. (原始内容存档于2017-11-15).
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.