Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #4154
| From | aminer <aminer@toto.net> |
|---|---|
| Newsgroups | comp.programming.threads, comp.programming |
| Subject | I correct... |
| Date | 2014-03-18 17:45 -0700 |
| Organization | albasani.net |
| Message-ID | <lgaeqo$rgq$1@news.albasani.net> (permalink) |
Cross-posted to 2 groups.
Hello, Please take a look at the following code inside my RWLockX:repeat; > repeat > event2.setEvent; > asm pause end; > event2.resetEvent; > until nbr^.nbr=0; the number of cache-lines transfers in the above code must not be taken as belonging to the serial part of the Amdahl equation, because when you will signal one after the other the readers threads, they will enter the reader section as soon as they are signaled to enter. That's the same: > for i:=0 to GetSystemThreadCount-1 do > begin > while (FCount1^[i].fcount1<>0) > do > begin > end; > end; So i think my scalable RWLocks will then scale better. Thank you, Amine Moulay Ramdane.
Back to comp.programming | Previous | Next — Next in thread | Find similar | Unroll thread
I correct... aminer <aminer@toto.net> - 2014-03-18 17:45 -0700 Re: I correct... aminer <aminer@toto.net> - 2014-03-18 17:57 -0700
csiph-web