MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwp_mutex_release_safe

Function lwp_mutex_release_safe

components/lwp/lwp_internal.c:107–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107rt_err_t lwp_mutex_release_safe(rt_mutex_t mtx)
108{
109 LWP_DEF_RETURN_CODE(rc);
110
111 rc = rt_mutex_release(mtx);
112 if (rc)
113 {
114 LOG_I("%s: release failed with code %ld", __func__, rc);
115 rt_backtrace();
116 }
117
118 LWP_RETURN(rc);
119}
120
121rt_err_t lwp_critical_enter(struct rt_lwp *lwp, int flags)
122{

Callers 10

lwp_pid_lock_releaseFunction · 0.85
lwp_critical_exitFunction · 0.85
lwp_pgrp_critical_exitFunction · 0.85
lwp_sess_critical_exitFunction · 0.85
_futex_unlockFunction · 0.85
lwp_tid_getFunction · 0.85
lwp_tid_putFunction · 0.85
lwp_tid_dec_refFunction · 0.85
lwp_tid_set_threadFunction · 0.85

Calls 2

rt_mutex_releaseFunction · 0.85
rt_backtraceFunction · 0.50

Tested by

no test coverage detected