summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2002-06-22 23:31:51 +0300
committerunknown <heikki@hundin.mysql.fi>2002-06-22 23:31:51 +0300
commitee102a7886dc79c7d49cd50e8af653c0e9a4b74a (patch)
tree87c2d22b43ffd093631fbd6c9aecea1732fef3f5 /innobase
parent1081513a12851d432103eaabcb6533c84062196c (diff)
downloadmariadb-git-ee102a7886dc79c7d49cd50e8af653c0e9a4b74a.tar.gz
os0sync.c:
Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux innobase/os/os0sync.c: Initing a mutex with MY_MUTEX_INIT_FAST may relieve thread thrashing on Linux
Diffstat (limited to 'innobase')
-rw-r--r--innobase/os/os0sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/os/os0sync.c b/innobase/os/os0sync.c
index 2cf5160d055..c1345de0d55 100644
--- a/innobase/os/os0sync.c
+++ b/innobase/os/os0sync.c
@@ -435,7 +435,7 @@ os_fast_mutex_init(
InitializeCriticalSection((LPCRITICAL_SECTION) fast_mutex);
#else
- pthread_mutex_init(fast_mutex, NULL);
+ pthread_mutex_init(fast_mutex, MY_MUTEX_INIT_FAST);
#endif
}