pub unsafe extern "C" fn aws_thread_scheduler_new(
allocator: *mut aws_allocator,
thread_options: *const aws_thread_options
) -> *mut aws_thread_scheduler
Expand description
Creates a new instance of a thread scheduler. This object receives scheduled tasks and executes them inside a background thread. On success, this function returns an instance with a ref-count of 1. On failure it returns NULL.
thread_options are optional.
The semantics of this interface conform to the semantics of aws_task_scheduler.