pub unsafe extern "C" fn rtapi_sem_delete(
sem_id: c_int,
module_id: c_int,
) -> c_intExpand description
‘rtapi_sem_delete()’ is the counterpart to ‘rtapi_sem_new()’. It discards the semaphore associated with ‘sem_id’. Any tasks blocked on ‘sem’ will resume execution. ‘module_id’ is the ID of the calling module. Returns a status code. Call only from within init/cleanup code, not from realtime tasks.