Ryan Lortie
430c5635f2
g_thread_new: never fail
...
Remove the GError argument from g_thread_new() and abort on failure.
Introduce g_thread_try() for those who want to handle failure.
2011-10-13 01:00:57 -04:00
Ryan Lortie
015f4b4513
thread: nuke the concept of 'joinable'
...
And remove the 'joinable' argument from g_thread_new() and
g_thread_new_full().
Change the wording in the docs. Clarify expectations for
(deprecated) g_thread_create().
2011-10-13 00:43:33 -04:00
Matthias Clasen
daede1dc27
Disable deprecations where appropriate in tests
2011-10-12 00:48:18 -04:00
Ryan Lortie
413186a962
emufutex: remove init from g_thread_init_glib
...
Use a GStaticMutex instead.
2011-09-09 13:23:48 -04:00
Ryan Lortie
df0b208831
Implement pointer sized bitlocks
...
Based on a patch from Alexander Larsson.
https://bugzilla.gnome.org/show_bug.cgi?id=651467
2011-06-03 20:50:18 -04:00
Matthias Clasen
1bbf4cb87c
Remove the dead --disable-visiblity configure option
...
At the same time, document --disable-Bsymbolic.
2010-12-15 11:41:05 -05:00
Matthias Clasen
9174569736
Also use trylock in the bitlock tests
2010-07-31 02:40:16 -04:00
Christian Persch
7bb00fd0e8
Fix a preprocessor warning with --disable-visibility
...
Don't redefine DISABLE_VISIBILITY when already building with
--disable-visibility.
2010-06-19 19:07:36 +02: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