From 7f76d857d019cdaf79abcdaa1201283bb450dc80 Mon Sep 17 00:00:00 2001 From: Old-Ding <35417409+Old-Ding@users.noreply.github.com> Date: Tue, 30 Jun 2026 09:53:42 +0800 Subject: [PATCH] fix pthread cond wait scheduling --- components/libc/posix/pthreads/pthread_cond.c | 1 + 1 file changed, 1 insertion(+) 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;