mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 16:08:43 +02:00
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.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
47d0894a11
commit
f4484f51bf
13
ChangeLog
13
ChangeLog
@@ -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
|
||||
|
Reference in New Issue
Block a user