Commit a6502554 authored by Mikael Ronstrom's avatar Mikael Ronstrom

merge silly error

parents c92c92de b907184e
...@@ -481,7 +481,7 @@ rw_lock_x_unlock_func( ...@@ -481,7 +481,7 @@ rw_lock_x_unlock_func(
which is harmless since we still hold the lock. */ which is harmless since we still hold the lock. */
/* TODO: are there any risks of a thread id == -1 on any platform? */ /* TODO: are there any risks of a thread id == -1 on any platform? */
os_thread_id_t local_writer_thread; os_thread_id_t local_writer_thread;
local_write_thread = lock->writer_thread; local_writer_thread = lock->writer_thread;
lock->writer_thread = -1; lock->writer_thread = -1;
#ifdef UNIV_SYNC_DEBUG #ifdef UNIV_SYNC_DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment