EM-ODP  3.7.0
Event Machine on ODP
em_queue_conf_t Struct Reference

#include <event_machine_types.h>

Data Fields

em_queue_flag_t flags
 
unsigned int min_events
 
size_t conf_len
 
void * conf
 

Detailed Description

Queue configuration data for queue-create APIs. The use of this conf is optional, but provides a standard way to pass extra parameters or specify extra requirements.

Examples
bench_event.c, queues_output.c, queues_unscheduled.c, and send_multi.c.

Definition at line 212 of file event_machine_types.h.

Field Documentation

◆ conf

void* em_queue_conf_t::conf

Extra queue configuration data. This can also work as a placeholder for directly attached extra data.

Examples
queues_output.c.

Definition at line 234 of file event_machine_types.h.

◆ conf_len

size_t em_queue_conf_t::conf_len

Size of the data passed via 'conf'. 'conf' is ignored, if 'conf_len' is 0.

Examples
bench_event.c, and queues_output.c.

Definition at line 229 of file event_machine_types.h.

◆ flags

em_queue_flag_t em_queue_conf_t::flags

Extra flags. See em_queue_flag_t for choices. EM_QUEUE_FLAG_DEFAULT is defined by all systems and indicates a default multithread-safe queue without any special guarantees.

Examples
bench_event.c, queues_output.c, queues_unscheduled.c, and send_multi.c.

Definition at line 218 of file event_machine_types.h.

◆ min_events

unsigned int em_queue_conf_t::min_events

Request for a minimum amount of events the queue can hold or use 0 for EM default value. Queue creation will fail, if the system cannot support the requested amount.

Examples
bench_event.c, and queues_output.c.

Definition at line 224 of file event_machine_types.h.


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