mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-22 01:24:10 +00:00
msvcr100: Fix next writer unblocking in reader_writer_lock::unlock.
Fixes regression introduced by 256c344550
.
This commit is contained in:
parent
cf3815dc59
commit
0336d66ea1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue