Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3762
| From | aminer <aminer@toto.net> |
|---|---|
| Newsgroups | comp.programming.threads, comp.programming |
| Subject | Re: About my RWLock ... |
| Date | 2013-09-22 23:47 -0700 |
| Organization | albasani.net |
| Message-ID | <l1odk8$2dp$1@news.albasani.net> (permalink) |
| References | <l1obk6$kls$1@news.albasani.net> |
Cross-posted to 2 groups.
I correct: Hello, This SpinLock that i am using will not impact negatively the performance of my RWLock cause to use effectivly my RWLock there must be far less and fewer number of writers than readers. But it will impact negatively when there is high contention the performance of my SemaCondVar and SemaMonitor, so i will design something that look like an MCS queue Lock and that is more efficient than this SpinLock with a backoff mechanism, and as i said before we have to spin on local variables not on shared variable and use a backoff mechanism this way our Lock will be very efficient. Thank you, Amine Moulay Ramdane.
Back to comp.programming | Previous | Next — Previous in thread | Find similar | Unroll thread
About my RWLock ... aminer <aminer@toto.net> - 2013-09-22 23:13 -0700
Re: About my RWLock ... aminer <aminer@toto.net> - 2013-09-22 23:37 -0700
Re: About my RWLock ... aminer <aminer@toto.net> - 2013-09-22 23:40 -0700
Re: About my RWLock ... aminer <aminer@toto.net> - 2013-09-22 23:47 -0700
csiph-web