Use adaptive mutexes when available
authorMatthias Clasen <mclasen@redhat.com>
Thu, 22 Sep 2011 04:52:18 +0000 (00:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 22 Sep 2011 04:54:34 +0000 (00:54 -0400)
commitcedc82290f860683d695d0c5326db153893eec21
tree33df88d9f7bc96dc8fdb9abdadde65c2dc134972
parent19e7026fe728678c33e4cf38290ea88f0941d648
Use adaptive mutexes when available

These are supposedly better on multi-cpu systems - and who doesn't
have multiple cpus nowadays. One single-processor systems, they
are identical to normal mutexes.
See e.g. http://bugzilla.mozilla.org/show_bug.cgi?id=132089

https://bugzilla.gnome.org/show_bug.cgi?id=659423
glib/gthread-posix.c
glib/gthread.h