gatomic: use pthread mutexes instead of GMutex
authorRyan Lortie <desrt@desrt.ca>
Fri, 16 Sep 2011 21:50:13 +0000 (17:50 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 16 Sep 2011 21:51:27 +0000 (17:51 -0400)
commite2ae75ad4be9107ee172c644c096e5949598c4a8
treefe8419e849b5800020ae679c1a45ca453df6a405
parent48494dd55244fc95357a88fc1f01944d950b7b7b
gatomic: use pthread mutexes instead of GMutex

GStaticMutex makes use of atomic operations to initialise itself.  We
were using GStaticMutex from the emulated case of gatomic.  Use pthreads
directly to avoid unbounded recursion in this case.
glib/gatomic.c