diff --git a/components/libc/posix/pthreads/pthread_cond.c b/components/libc/posix/pthreads/pthread_cond.c index 69cad1fa2e6..0a240be19d5 100644 --- a/components/libc/posix/pthreads/pthread_cond.c +++ b/components/libc/posix/pthreads/pthread_cond.c @@ -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;