summaryrefslogtreecommitdiff
path: root/innobase/os
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-04-04 16:30:46 +0300
committerunknown <heikki@donna.mysql.fi>2001-04-04 16:30:46 +0300
commite3dee8e0f123c61c0ea48e1bd0310d86f21c6c26 (patch)
tree7c4564440560ba7a27b10f4802fc1a67b3fa7fc1 /innobase/os
parent7a60014eff6f448f723366f1a1f97859f0a0ac3e (diff)
downloadmariadb-git-e3dee8e0f123c61c0ea48e1bd0310d86f21c6c26.tar.gz
sync0sync.c Fix the infinite spin on FreeBSD
os0thread.c Use pthread_yield instead of os_thread_sleep(0) innobase/os/os0thread.c: Use pthread_yield instead of os_thread_sleep(0) innobase/sync/sync0sync.c: Fix the infinite spin on FreeBSD BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'innobase/os')
-rw-r--r--innobase/os/os0thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0thread.c b/innobase/os/os0thread.c
index 2664d574122..c1519ac58e4 100644
--- a/innobase/os/os0thread.c
+++ b/innobase/os/os0thread.c
@@ -122,7 +122,7 @@ os_thread_yield(void)
#ifdef __WIN__
Sleep(0);
#else
- os_thread_sleep(0);
+ pthread_yield();
#endif
}