http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46096
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-10-20 14:46:24 UTC --- Busy waiting is rarely a good idea, so it depends on what are you exactly waiting for and whether say pthread_barrier_wait, or mutex, or condvar etc. wouldn't be more appropriate.