Initialization options for FreeBSD. More...
#include <bio.h>
Data Fields | ||
struct { | ||
unsigned int batch_size | ||
The size of the eventlist that will be passed to kevent More... | ||
} | kqueue | |
Options for kqueue | ||
Initialization options for FreeBSD.
unsigned int bio_freebsd_options_t::batch_size |
The size of the eventlist that will be passed to kevent
Defaults to BIO_FREEBSD_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_freebsd_options_t::kqueue |
Options for kqueue