pub unsafe extern "C" fn aeron_set_thread_affinity_on_start(
state: *mut c_void,
role_name: *const c_char,
)
Expand description
Affinity setting function that complies with the aeron_agent_on_start_func_t structure that can be used as an agent start function. The state should be the aeron_driver_context_t* and the function will match the values “conductor”, “sender”, “receiver” and use the respective configuration options from the aeron_driver_context_t.
@param state client information passed to function, should be the aeron_driver_context_t*. @param role_name name of the role specified on the agent.