Subj : Re: sem_getvalue (was Re: Using hierarchical memory ...) To : comp.programming.threads From : Joe Seigh Date : Mon Sep 12 2005 04:02 pm Alexander Terekhov wrote: > Joe Seigh wrote: > [...] > >>>Conflation or non-conflation aside for a moment, I'm just curious how >>>your lock-free sem_getvalue() for x86 would look like. Care to share? >>> >> >>Depends. The documentation for that is a little strange and it's not >>clear if sem_getvalue has any practical use. > > > http://www.opengroup.org/austin/mailarchives/ag/msg08586.html > > Depends on what you think "synchronize memory" means for posix semaphores, what is actually observable, and what you mean by "remote write atomicity". -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .