GSource: add g_source_set_name, g_source_get_name, g_source_set_name_by_id
authorHavoc Pennington <hp@pobox.com>
Tue, 20 Apr 2010 21:47:44 +0000 (17:47 -0400)
committerColin Walters <walters@verbum.org>
Tue, 25 May 2010 20:59:22 +0000 (16:59 -0400)
commit6b53e4826fba3827ac7273a344b46f854ee81d0b
treee0ee056a62d6d2084119967ef7087587601d2887
parente5696c282e2c48ac0f822c4e6d33c8507a77e998
GSource: add g_source_set_name, g_source_get_name, g_source_set_name_by_id

These allow applications to give meaningful names to their sources.
Source names can then be used for debugging and profiling, for
example with systemtap or gdb.

https://bugzilla.gnome.org/show_bug.cgi?id=606044
glib/gmain.c
tests/mainloop-test.c