[][src]Function mmal_sys::vcos_thread_create

pub unsafe extern "C" fn vcos_thread_create(
    thread: *mut VCOS_THREAD_T,
    name: *const c_char,
    attrs: *mut VCOS_THREAD_ATTR_T,
    entry: VCOS_THREAD_ENTRY_FN_T,
    arg: *mut c_void
) -> VCOS_STATUS_T

Create a thread. It must be cleaned up by calling vcos_thread_join().

@param thread Filled in on return with thread @param name A name for the thread. May be the empty string. @param attrs Attributes; default attributes will be used if this is NULL. @param entry Entry point. @param arg Argument passed to the entry point.