* @brief Deletes a mutex and releases associated resources. * * This system call deletes an existing mutex identified by the given handle `mutex`. * It releases any resources associated with the mutex and ensures that it is no longer * available for further synchronization operations. After deletion, the mutex handle * becomes invalid and should not be used. This operation also ensures that n
| 1879 | * @see sys_mutex_create(), sys_mutex_lock(), sys_mutex_unlock() |
| 1880 | */ |
| 1881 | sysret_t sys_mutex_delete(rt_mutex_t mutex) |
| 1882 | { |
| 1883 | return lwp_user_object_delete(lwp_self(), (rt_object_t)mutex); |
| 1884 | } |
| 1885 | |
| 1886 | /** |
| 1887 | * @brief Attempts to acquire (lock) a mutex. |
nothing calls this directly
no test coverage detected