Re: question on powerpc pthread mutexes and memory barriers

2009-07-09 Thread Chris Friesen
Chris Friesen wrote: > Hi all, > > This probably isn't the right place to ask about this, but does anyone > know where the implied memory barrier happens for pthread mutexes in the > uncontended case? I'm looking at the glibc code and I don't see any > barrier instructions for mutexes, only semap

question on powerpc pthread mutexes and memory barriers

2009-07-09 Thread Chris Friesen
Hi all, This probably isn't the right place to ask about this, but does anyone know where the implied memory barrier happens for pthread mutexes in the uncontended case? I'm looking at the glibc code and I don't see any barrier instructions for mutexes, only semaphores and spinlocks. Thanks, C