fix pthread cond wait scheduling

This commit is contained in:
Old-Ding
2026-07-01 11:49:55 +08:00
committed by Rbb666
parent b118fcab2e
commit 0c25ffa18e
@@ -434,6 +434,7 @@ rt_err_t _pthread_cond_timedwait(pthread_cond_t *cond,
/* exit critical and do schedule */
rt_exit_critical();
rt_schedule();
result = thread->error;