I/O Asynchronous Completion
Posted
by lockedscope
on Stack Overflow
See other posts from Stack Overflow
or by lockedscope
Published on 2010-05-27T10:39:13Z
Indexed on
2010/05/27
10:41 UTC
Read the original article
Hit count: 265
asynchronous
|asynchronous-processing
In the following, it is said that an I/O handle must be associated with the thread pool but i could not find where in the given example an handle is associated with the thread. Which function or code helps to bind the file handle in that example?
Using asynchronous I/O completion events, a thread from the thread pool processes data only when the data is received, and once the data has been processed, the thread returns to the thread pool. To make an asynchronous I/O call, an operating-system I/O handle must be associated with the thread pool and a callback method must be specified. When the I/O operation completes, a thread from the thread pool invokes the callback method. http://msdn.microsoft.com/en-us/library/aa720215(VS.71).aspx
© Stack Overflow or respective owner