projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c25f9f
)
GWakeup: add signal safety note
author
Ryan Lortie
<desrt@desrt.ca>
Mon, 25 Jul 2011 14:35:08 +0000
(16:35 +0200)
committer
Ryan Lortie
<desrt@desrt.ca>
Mon, 25 Jul 2011 14:35:08 +0000
(16:35 +0200)
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
patch
|
blob
|
history
diff --git
a/glib/gwakeup.c
b/glib/gwakeup.c
index
76f9ece
..
29a0fca
100644
(file)
--- 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