Bug 548967 - 1 bit mutex lock
authorRyan Lortie <desrt@desrt.ca>
Thu, 28 Jan 2010 16:32:07 +0000 (11:32 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 28 Jan 2010 17:40:46 +0000 (12:40 -0500)
commit669b0f2d6b5ef3a4924a1402d569c4e38e4fb41c
treec5e94f36261bdf37c81914b4f9c8bd05255d10e0
parent595cad2531ac8bb4a4954337931134cb304088df
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.
configure.in
docs/reference/glib/glib-sections.txt
glib/Makefile.am
glib/gbitlock.c [new file with mode: 0644]
glib/gbitlock.h [new file with mode: 0644]
glib/glib.h
glib/glib.symbols
glib/gthread.c
glib/gthreadprivate.h