CVSROOT:        /cvs/gnome
Module name:    glib
Changes by:     wilhelmi        06/01/17 15:06:27

Modified files:
        .              : ChangeLog 
        glib           : gthreadpool.c 
        tests          : threadpool-test.c 

Log message:
2006-01-17  Sebastian Wilhelmi  <[EMAIL PROTECTED]>

* 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.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=glib&who=wilhelmi&date=explicit&mindate=2006-01-17%2015:05&maxdate=2006-01-17%2015:07

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to