MCPcopy 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
89void 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
97void arm_tpl_cv::broadcast()
98{

Callers 2

mainFunction · 0.80
__ARM_TPL_condvar_signalFunction · 0.80

Calls 4

rt_mutex_takeFunction · 0.85
rt_sem_takeFunction · 0.85
rt_sem_releaseFunction · 0.85
rt_mutex_releaseFunction · 0.85

Tested by

no test coverage detected