https://gitlab.synchro.net/main/sbbs/-/commit/819c4e20927f1b70020ad5d4
Modified Files:
src/xpdev/rwlockwrap.c
Log Message:
Fix unlikely Win32 rwlock issue.
If WaitForSingleObject() fails, the loop waiting for readers to
zero would continue without wlk held, meaning it would be possible
for either wlk to be left without entering, or two writers to hold
the lock at the same time, depending on the value of lock->readers
at the time of the failure.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net