[][src]Function mmal_sys::vcos_thread_exit

pub unsafe extern "C" fn vcos_thread_exit(data: *mut c_void)

Exit the thread from within the thread function itself. Resources must still be cleaned up via a call to thread_join().

The thread can also be terminated by simply exiting the thread function.

@param data Data passed to thread_join. May be NULL.