Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming.threads > #2055
| From | aminer <aminer@toto.net> |
|---|---|
| Newsgroups | comp.programming.threads, comp.programming |
| Subject | The solution... |
| Date | 2014-01-23 21:57 -0800 |
| Organization | albasani.net |
| Message-ID | <lbskpi$dao$1@news.albasani.net> (permalink) |
Cross-posted to 2 groups.
Hello, To support the FIFO fairness inside my RWLock i have found a solution but unfortunatly this solution is not optimal, cause i have to use two SemaMonitor objects on the reader side of my RWLock algorithm, but unfortunatly since my SemaMonitor is using a FIFO queue, the head and tail of this FIFO queue is always updated by multiple threads so there values has to move from a L2 cache to L2 cache so this is expensive and since it's expensive this will make my RWLock not scalable friendly so i can not use my SemaMonitor in the reader side and since i can not use my Semamonitor so i think that bringing FIFO fairness is too hard or even impossible to realize. That's sad but it's as it's... So i will let my scalable RWLock as it's now. Amine Moulay Ramdane.
Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread
The solution... aminer <aminer@toto.net> - 2014-01-23 21:57 -0800
csiph-web