bio
 
Loading...
Searching...
No Matches

Linux implementation details. More...

Macros

#define BIO_LINUX_DEFAULT_QUEUE_SIZE   64
 Default queue size for the io_uring.
 

Detailed Description

Linux implementation details.

bio uses iouring on Linux.

For network, it detects whether bind or listen can be submitted through iouring and fallback to the synchronous version instead as those calls typically do not block.

For bio_platform_update, it uses a futex if there is support. Otherwise an eventfd is used instead.

Macro Definition Documentation

◆ BIO_LINUX_DEFAULT_QUEUE_SIZE

#define BIO_LINUX_DEFAULT_QUEUE_SIZE   64

Default queue size for the io_uring.