mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge branch '10.0' into 10.1
This commit is contained in:
commit
6b1863b830
381 changed files with 5154 additions and 3894 deletions
|
|
@ -178,6 +178,11 @@ mutex_exit_func(
|
|||
to wake up possible hanging threads if
|
||||
they are missed in mutex_signal_object. */
|
||||
|
||||
/* We add a memory barrier to prevent reading of the
|
||||
number of waiters before releasing the lock. */
|
||||
|
||||
os_mb;
|
||||
|
||||
if (mutex_get_waiters(mutex) != 0) {
|
||||
|
||||
mutex_signal_object(mutex);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue