From 7f15910e7907e17606ba9e149cc3b04be4887bbf Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 25 Jul 2011 16:35:08 +0200 Subject: [PATCH] GWakeup: add signal safety note Note that g_wakeup_signal() is safe to call from a UNIX signal handler (since this is a likely place to want to call it from). --- glib/gwakeup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/glib/gwakeup.c b/glib/gwakeup.c index 76f9ece25..29a0fcad9 100644 --- a/glib/gwakeup.c +++ b/glib/gwakeup.c @@ -202,6 +202,8 @@ g_wakeup_acknowledge (GWakeup *wakeup) * g_wakeup_get_pollfd() will immediately succeed until such a time as * g_wakeup_acknowledge() is called. * + * This function is safe to call from a UNIX signal handler. + * * Since: 2.30 **/ void