6 Commits

Author SHA1 Message Date
Ryan Lortie
2e53e50244 glib/: fully remove galias hacks 2010-07-07 19:34:35 -04:00
Ryan Lortie
e2bc5c2112 g_bit_lock: remove double variable declarations
Remove double declaration of local static variables used for futex
emulation.

Problem found by Haakon Sporsheim <haakon.sporsheim@gmail.com>.
2010-02-01 18:32:34 -05:00
Ryan Lortie
522dafe126 gbitlock: fix gtkdoc brokenness 2010-01-30 12:32:37 -05:00
Ryan Lortie
fe89b2ea29 Since: markers for g_bit_*lock() 2010-01-28 19:12:55 -05:00
Ryan Lortie
40eae351b1 Bug 548967 - 1 bit mutex lock: add tests
Add a test case for the new API.

Always check the emulated futex(2) implementation, even on systems with
futex support.
2010-01-28 18:41:20 -05:00
Ryan Lortie
669b0f2d6b 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.
2010-01-28 12:40:46 -05:00