GNOME Bugzilla – Bug 324931
Feature request: pthread_kill() and pthread_cancel() analogs for GThread
Last modified: 2006-01-23 02:42:45 UTC
It would be wery nice to have pthread_kill() and pthread_cancel() analogs for GThread. Just because using of GLib's thread-related machinery everywhere but some threads, which should be killable/cancellable, is very ugly... :-(
thread cancellation has been discussed here: http://mail.gnome.org/archives/gtk-devel-list/2003-February/msg00082.html and here: http://mail.gnome.org/archives/gtk-devel-list/2004-May/msg00001.html The general consensus has always been that asynchronous cancellation of threads is a bad idea.
*** Bug 328213 has been marked as a duplicate of this bug. ***