| 159 | } |
| 160 | |
| 161 | static void test_timeout_entry(void *para) |
| 162 | { |
| 163 | rt_err_t ret; |
| 164 | |
| 165 | rt_thread_mdelay(50); |
| 166 | ret = rt_mutex_take(&_timeout_mutex, rt_tick_from_millisecond(100)); |
| 167 | uassert_true(ret == -RT_ETIMEOUT); |
| 168 | _sync_flag ++; |
| 169 | } |
| 170 | |
| 171 | static void test_mutex_pi_timeout(void) |
| 172 | { |
nothing calls this directly
no test coverage detected