SRW-2

shared to exclusive (by rbmm)

SRW-2 Alternatives

Similar projects and alternatives to SRW-2

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better SRW-2 alternative or higher similarity.

SRW-2 reviews and mentions

Posts with mentions or reviews of SRW-2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-03.
  • Bug in std:shared_mutex on Windows
    7 projects | news.ycombinator.com | 3 Mar 2024
    https://github.com/rbmm/SRW-2 - possible better repro code . where i guarantee repro this without hundreds loops. i be say that "question" in RtlReleaseSRWLockExclusive implementation. it first remove Lock bit from SRW (and after this any thread can enter to lock) and then call RtlpWakeSRWLock. but this 2 operations not atomic. if in the middle (after Lock Bit removed and before RtlpWakeSRWLock executed) another thread acquire shared access - it got exclusive. and RtlpWakeSRWLock also "fail" after this - not wake any waiters. but when shared/exlusive owner then release lock..RtlpWakeSRWLock will be called again and self job. i be of course use bit another implementation, link to which i paste in another comment here

Stats

Basic SRW-2 repo stats
1
1
5.7
2 months ago

The primary programming language of SRW-2 is C++.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com