|
Udipe 1.0
Solving the riddle of high-throughput UDP
|
#include <buffer.h>
Data Fields | |
| udipe_buffer_config_callback_t | callback |
| void * | context |
Memory management configuration
This struct can be used to control the memory management policy of libudipe.
| 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.
| 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.