diff options
author | Sebastian Wilhelmi <seppi@seppi.de> | 2006-01-17 20:06:27 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 2006-01-17 20:06:27 +0000 |
commit | f4484f51bf7a876565697a6d093e5d7accff20f3 (patch) | |
tree | cdd0c35dd2886010d835401dbb9352e26f5a2597 /ChangeLog.pre-2-10 | |
parent | 47d0894a11c8350dd838146326507d43fc985e2e (diff) | |
download | glib-f4484f51bf7a876565697a6d093e5d7accff20f3.tar.gz |
To avoid deadlocks get rid of the settings G_LOCK. Use the
2006-01-17 Sebastian Wilhelmi <seppi@seppi.de>
* glib/gthreadpool.c: To avoid deadlocks get rid of the settings
G_LOCK. Use the unused_thread_queue lock instead. Change
g_thread_pool_thread_proxy such that threads only wait on
non-exlusive pools for at most a 1/2 second. Do not reorder tasks
due to superfluous tasks. Global tasks wait at most for
max-idle-time milliseconds. Make sure, that no task is woken up
twice for the same event via a wakeup_serial. This fixes #324228.
* tests/threadpool-test.c: Adapt test accordingly. Do not pass
invalid NULL into the thread pools. This as well fixes #327290.
Diffstat (limited to 'ChangeLog.pre-2-10')
-rw-r--r-- | ChangeLog.pre-2-10 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 72d93208a..595bb98bc 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,16 @@ +2006-01-17 Sebastian Wilhelmi <seppi@seppi.de> + + * glib/gthreadpool.c: To avoid deadlocks get rid of the settings + G_LOCK. Use the unused_thread_queue lock instead. Change + g_thread_pool_thread_proxy such that threads only wait on + non-exlusive pools for at most a 1/2 second. Do not reorder tasks + due to superfluous tasks. Global tasks wait at most for + max-idle-time milliseconds. Make sure, that no task is woken up + twice for the same event via a wakeup_serial. This fixes #324228. + + * tests/threadpool-test.c: Adapt test accordingly. Do not pass + invalid NULL into the thread pools. This as well fixes #327290. + 2006-01-16 Matthias Clasen <mclasen@redhat.com> * configure.in: Bump version |