Initialization options for Windows. More...
#include <bio.h>
Data Fields | ||
struct { | ||
unsigned int batch_size | ||
The size of the buffer that will be passed to GetQueuedCompletionStatusEx More... | ||
} | iocp | |
Options for IOCP | ||
Initialization options for Windows.
unsigned int bio_windows_options_t::batch_size |
The size of the buffer that will be passed to GetQueuedCompletionStatusEx
Defaults to BIO_WINDOWS_DEFAULT_BATCH_SIZE if not set.
A bigger value will consume more memory upfront but more events will be dequeued in a single call. Take note that the library will always try to drain all pending events if possible.
struct { ... } bio_windows_options_t::iocp |
Options for IOCP