Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

About RWLocks...

3 views
Skip to first unread message

aminer

unread,
Jan 28, 2014, 6:07:17 PM1/28/14
to
Hello all,

I have said about my scalable RWLock this:


"I was thinking about my new scalable RWLock2, you have to understand
an important thing, if from the time t1 to the time t2 there is writes
and reads and from the time t2 to time t3 there is only reads, so
even if the time from t1 to t2 will add more to the overall time cause
there is write threads, the perceived throughput from time t2 to t3 will
be higher and the waiting time from t2 to t3 will be lower and this will
make my scalable RWLock useful."


I have heard that if there is frequent writes and frequent reads
you have to repLace the scalable RWLock with a lock, i think
this is not completly true, cause as i just said between time t2 and
time t3 the perceived throughput is higher and the waiting time is lower
and you can not have that with locks, so this is why my scalable RWLock
is still useful even if there is frequent writes and frequent reads.


Thank you,
Amine Moulay Ramdane.
0 new messages