Make thread names useful in a debugger
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Oct 2011 13:27:08 +0000 (09:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Oct 2011 02:11:58 +0000 (22:11 -0400)
commit1909d2398ad299b86fb708104d82ce5ab7415d36
tree7eaa35f8bdfe93de514ce44b061c999437924135
parent0d1a92ca3d234a4291ef3ecbf7df2d57442a63e5
Make thread names useful in a debugger

Associate the name with the system thread, so that debuggers
can see it. This is currently only implemented for Linux, using
prctl.

https://bugzilla.gnome.org/show_bug.cgi?id=660635
configure.ac
glib/gthread-posix.c
glib/gthread-win32.c
glib/gthread.c
glib/gthreadprivate.h