Bug 548967 - 1 bit mutex lock

Add support for a mutex lock that consumes only one bit of storage
inside of an integer on systems that support futexes.  Futex is emulated
(at a higher cost) on systems that don't have it -- but only in the
contended case.
This commit is contained in:
Ryan Lortie
2010-01-28 11:32:07 -05:00
parent 595cad2531
commit 669b0f2d6b
9 changed files with 379 additions and 0 deletions

View File

@@ -35,6 +35,7 @@
#include <glib/gatomic.h>
#include <glib/gbacktrace.h>
#include <glib/gbase64.h>
#include <glib/gbitlock.h>
#include <glib/gbookmarkfile.h>
#include <glib/gcache.h>
#include <glib/gchecksum.h>