PushLock VS SRW-2

Compare PushLock vs SRW-2 and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
PushLock SRW-2
1 1
3 1
- -
5.9 5.7
3 months ago 3 months ago
C++ C++
- -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

PushLock

Posts with mentions or reviews of PushLock. 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://www.reddit.com/r/cpp/comments/1b55686/comment/ktfggu...

    if say true - i here in very strange position. i am by self under debugger research exacly what happens in concrete case and create repro code. i think that implementation of the RtlReleaseSRWLockExclusive is not the best and may be really containing "bug" as i in more details describe in comment on reddit. but from another side, if you want pure formal c++ rules - can you explain - in what exactly was bug in concre case ? what rule/guarantee is violated ? why demo code decide that ALL shared waiters can at once acquire the lock. formal documentation not state this. this intuitive must be true, because no exclusive request more. but.. i really dont know. and i also for fun create own implementation of SRW lock ( if someone interested to look -https://github.com/rbmm/PushLock ) which free from this roblem - i always ( hope) do only single atomic change to lock state during api call. and finally - sorry for my english and too long answer

SRW-2

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

What are some alternatives?

When comparing PushLock and SRW-2 you can also consider the following projects:

emails - emails I received

boto3 - AWS SDK for Python