diff options
| author | Old-Ding <[email protected]> | 2026-06-30 09:53:42 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-07-01 11:49:55 +0800 |
| commit | 0c25ffa18edd8cf66f15b9295995da92b2318aa0 (patch) | |
| tree | ca9d4c3f0e2a01abf17387f19d1ed87a040fcea4 | |
| parent | b118fcab2e8602f7ee944049adb701e8e73014bd (diff) | |
fix pthread cond wait scheduling
| -rw-r--r-- | components/libc/posix/pthreads/pthread_cond.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/libc/posix/pthreads/pthread_cond.c b/components/libc/posix/pthreads/pthread_cond.c index 69cad1fa2e..0a240be19d 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; |
