Memory barriers vs lock/unlock

Paolo Carlini pcarlini@suse.de
Tue Nov 8 21:25:00 GMT 2005


Kurt Kohler wrote:

>Just a useless comment... Back when I had that weird mutex problem
>(thanks again for fixing that!) I noticed this lock/unlock sequence and
>was highly puzzled. I showed it to our local multitasking guru and he
>didn't understand it either. I'd be interested in hearing why such an
>odd looking thing is necessary!
>  
>
By the way, about those topics, besides Peter's messages ;) and the
usual references (Adve & Gharachorloo, Boehm) I suggest the two-part
review that Paul E McKenney recently wrote for Linux Journal.

Paolo.



More information about the Libstdc++ mailing list