[][src]Function mraa_sys::mraa_set_priority

pub unsafe extern "C" fn mraa_set_priority(priority: c_int) -> c_int

This function attempts to set the mraa process to a given priority and the scheduler to SCHED_RR. Highest * priority is typically 99 and minimum is 0. This function * will set to MAX if * priority is > MAX. Function will return -1 on failure.

@param priority Value from typically 0 to 99 @return The priority value set