rb_thread_create

Function rb_thread_create 

Source
pub unsafe extern "C" fn rb_thread_create(
    f: Option<unsafe extern "C" fn(g: *mut c_void) -> VALUE>,
    g: *mut c_void,
) -> VALUE
Expand description

Creates a Ruby thread that is backended by a C function.

§@param[in] f The function to run on a thread. @param[in,out] g Passed through to f. @exception rb_eThreadError Could not create a ruby thread. @exception rb_eSystemCallError Situations like EPERM. @return Allocated instance of ::rb_cThread. @note This doesn’t wait for anything.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3