Function linuxcnc_hal_sys::rtapi_sem_delete
source · Expand 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.