Commit 0336d66e authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcr100: Fix next writer unblocking in reader_writer_lock::unlock.

Fixes regression introduced by 256c3445.
parent cf3815dc
......@@ -3302,7 +3302,7 @@ void __thiscall reader_writer_lock_unlock(reader_writer_lock *this)
count = InterlockedDecrement(&this->count);
if (count != WRITER_WAITING)
return;
NtReleaseKeyedEvent(keyed_event, this->writer_head, 0, NULL);
call_Context_Unblock(this->writer_head->ctx);
return;
}
......
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