Windows implementation details. More...
Macros | |
#define | BIO_WINDOWS_DEFAULT_BATCH_SIZE 4 |
Default number of items passed to GetQueuedCompletionStatusEx. | |
Windows implementation details.
bio uses uses IOCP on Windows.
For network, it transparently handles the differences between named pipes and regular sockets.
For file, the async thread pool is always used in tandem with IOCP. This is because not all file handles support IOCP. Moreover, async calls may be converted to be synchronous. For these reasons, bio will always send file I/O calls to the async thread pool even though it already uses IOCP with those calls. File I/O heavy applications may need to increase the thread pool size from the default.
#define BIO_WINDOWS_DEFAULT_BATCH_SIZE 4 |
Default number of items passed to GetQueuedCompletionStatusEx.