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

Function lwp_mutex_take_safe

components/lwp/lwp_internal.c:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100rt_err_t lwp_mutex_take_safe(rt_mutex_t mtx, rt_int32_t timeout, int flags)
101{
102 LWP_DEF_RETURN_CODE(rc);
103 rc = _mutex_take_safe(mtx, timeout, flags);
104 LWP_RETURN(rc);
105}
106
107rt_err_t lwp_mutex_release_safe(rt_mutex_t mtx)
108{

Callers 10

lwp_pid_lock_takeFunction · 0.85
lwp_critical_enterFunction · 0.85
lwp_pgrp_critical_enterFunction · 0.85
lwp_sess_critical_enterFunction · 0.85
_futex_lockFunction · 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 1

_mutex_take_safeFunction · 0.85

Tested by

no test coverage detected