diff options
Diffstat (limited to 'innobase/include/sync0rw.ic')
-rw-r--r-- | innobase/include/sync0rw.ic | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/innobase/include/sync0rw.ic b/innobase/include/sync0rw.ic index 31a1ea6562a..5b65b57082f 100644 --- a/innobase/include/sync0rw.ic +++ b/innobase/include/sync0rw.ic @@ -382,6 +382,9 @@ rw_lock_s_unlock_func( mutex_exit(mutex); if (UNIV_UNLIKELY(sg)) { +#ifdef __WIN__ + os_event_set(lock->wait_ex_event); +#endif os_event_set(lock->event); sync_array_object_signalled(sync_primary_wait_array); } @@ -463,6 +466,9 @@ rw_lock_x_unlock_func( mutex_exit(&(lock->mutex)); if (UNIV_UNLIKELY(sg)) { +#ifdef __WIN__ + os_event_set(lock->wait_ex_event); +#endif os_event_set(lock->event); sync_array_object_signalled(sync_primary_wait_array); } |