pub unsafe extern "C" fn aws_thread_current_at_exit(
callback: aws_thread_atexit_fn,
user_data: *mut c_void
) -> c_int
Expand description
Adds a callback to the chain to be called when the current thread joins. Callbacks are called from the current thread, in the reverse order they were added, after the thread function returns. If not called from within an aws_thread, has no effect.