[][src]Function drone_core::thr::thread_call

pub unsafe fn thread_call<T: Thread>(thr_idx: usize, f: unsafe extern "C" fn())

Runs the function f inside the thread number thr_idx.

Safety

The function is not reentrant.