Ensure that writer buffers are flushed before synchronizing parity writes
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL / Analyze (push) Waiting to run

This commit is contained in:
Andrea Mazzoleni 2025-09-25 12:46:15 +02:00
parent 5fd41d215b
commit 30474cfb80
7 changed files with 130 additions and 35 deletions

View file

@ -1741,5 +1741,12 @@ void thread_join(thread_id_t thread, void** retval)
}
}
void thread_yield(void)
{
#ifdef __MINGW32__
Sleep(0);
#else
sched_yield();
#endif
}
#endif