
14 Sep
2004
14 Sep
'04
4:22 a.m.
Carlo Wood wrote:
<quote> I/O completion ports are the mechanism by which an application uses a pool of threads that was created when the application was started to process asynchronous I/O requests. These threads are created for the sole purpose of processing I/O requests. </quote>
So... there we have our hidden threads!
The IOCP API does offer functions to do automatic thread pool management, but I never use it. For one thing, that API uses CreateThread and I prefer to use _beginthreadex. So while the docs may tell you to do things one way, I suggest ignoring them and doing it however you like :) Sean