From: Sean Kelly (sean_at_[hidden])
Date: 2004-09-13 23:22:20
Carlo Wood wrote:
> 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.
> 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 :)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk