Subj : Re: recursive mutexes To : comp.programming.threads From : Marcin 'Qrczak' Kowalczyk Date : Sun May 22 2005 12:34 pm "Chris Thomasson" <_no_damn_spam_cristom@_no_damn_comcast.net_spam> writes: >> I don't know about others, but gcc should not reorder things around >> "volatile asm" with correct inputs/outputs/clobbers in a way which >> breaks multithreaded code. >> >> And if it does, it's a bug and an external function will break this >> as well. > > http://groups.google.ca/group/comp.programming.threads/msg/433dcb152bd7697c?hl=en I can't find an exampple where gcc reorders something that it shouldn't. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/ .