Udipe 1.0
Solving the riddle of high-throughput UDP
Loading...
Searching...
No Matches
Data Fields
udipe_buffer_configurator_s Struct Reference

#include <buffer.h>

Data Fields

udipe_buffer_config_callback_t callback
 
void * context
 

Detailed Description

Memory management configuration

This struct can be used to control the memory management policy of libudipe.

Field Documentation

◆ callback

udipe_buffer_config_callback_t udipe_buffer_configurator_s::callback

Worker thread memory management configuration callback

If this is left at NULL, then the default memory management policy specified in the documentation of the members of udipe_buffer_config_t will be used.

Examples
configure_buffering.c.

◆ context

void* udipe_buffer_configurator_s::context

Arbitrary context information associated with callback

You can use this to pass any information you need to callback as it gets called on every worker thread. Beware that this information will be accessed by all worker threads concurrently, and must therefore be used in a thread-safe manner.

Leave this at NULL if you do not specify a callback.


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