Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ signal
Method
signal
components/libc/cplusplus/cpp11/armclang/condvar.cpp:89–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
87
}
88
89
void arm_tpl_cv::signal()
90
{
91
while (rt_mutex_take(x, ARM_TPL_MAX_DELAY) != 0);
92
if (rt_sem_take(s, 0) == 0)
93
rt_sem_release(h);
94
rt_mutex_release(x);
95
}
96
97
void arm_tpl_cv::broadcast()
98
{
Callers
2
main
Function · 0.80
__ARM_TPL_condvar_signal
Function · 0.80
Calls
4
rt_mutex_take
Function · 0.85
rt_sem_take
Function · 0.85
rt_sem_release
Function · 0.85
rt_mutex_release
Function · 0.85
Tested by
no test coverage detected