projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0c5fb80
)
Just in case of a race, send the signal on interrupt.
author
Tilghman Lesher
<tilghman@meg.abyt.es>
Thu, 18 Mar 2010 15:45:26 +0000
(15:45 +0000)
committer
Tilghman Lesher
<tilghman@meg.abyt.es>
Thu, 18 Mar 2010 15:45:26 +0000
(15:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253255
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/stdtime/localtime.c
patch
|
blob
|
history
diff --git
a/main/stdtime/localtime.c
b/main/stdtime/localtime.c
index
eb9a2b1
..
4440a55
100644
(file)
--- a/
main/stdtime/localtime.c
+++ b/
main/stdtime/localtime.c
@@
-261,6
+261,9
@@
static void *inotify_daemon(void *data)
} else if (res < 0) {
if (errno == EINTR || errno == EAGAIN) {
/* If read fails, try again */
+ AST_LIST_LOCK(&zonelist);
+ ast_cond_broadcast(&initialization);
+ AST_LIST_UNLOCK(&zonelist);
continue;
}
/* Sanity check -- this should never happen, either */