pub unsafe extern "C" fn aws_event_loop_group_new_default(
alloc: *mut aws_allocator,
max_threads: u16,
shutdown_options: *const aws_shutdown_callback_options
) -> *mut aws_event_loop_group
Expand description
Initializes an event loop group with platform defaults. If max_threads == 0, then the loop count will be the number of available processors on the machine / 2 (to exclude hyper-threads). Otherwise, max_threads will be the number of event loops in the group.