bio
 
Loading...
Searching...
No Matches
bio_freebsd_options_t Struct Reference

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
 

Detailed Description

Initialization options for FreeBSD.

See also
bio_init

Field Documentation

◆ batch_size

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]

struct { ... } bio_freebsd_options_t::kqueue

Options for kqueue


The documentation for this struct was generated from the following file: