After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324931 - Feature request: pthread_kill() and pthread_cancel() analogs for GThread
Feature request: pthread_kill() and pthread_cancel() analogs for GThread
Status: RESOLVED WONTFIX
Product: glib
Classification: Platform
Component: gthread
2.8.x
Other All
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
: 328213 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-12-24 14:23 UTC by Andrew W. Nosenko
Modified: 2006-01-23 02:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Andrew W. Nosenko 2005-12-24 14:23:31 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...  :-(
Comment 1 Matthias Clasen 2005-12-30 00:42:52 UTC
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.
Comment 2 Matthias Clasen 2006-01-23 02:42:45 UTC
*** Bug 328213 has been marked as a duplicate of this bug. ***