projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d16691
)
Put poll in a loop forever when not doing anything else.
author
Mark Spencer
<markster@digium.com>
Sat, 1 May 2004 03:14:02 +0000
(
03:14
+0000)
committer
Mark Spencer
<markster@digium.com>
Sat, 1 May 2004 03:14:02 +0000
(
03:14
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2836
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
asterisk.c
patch
|
blob
|
history
diff --git
a/asterisk.c
b/asterisk.c
index
160d039
..
e21f149
100755
(executable)
--- a/
asterisk.c
+++ b/
asterisk.c
@@
-1672,7
+1672,8
@@
int main(int argc, char *argv[])
} else {
/* Do nothing */
- poll(NULL,0, -1);
+ for(;;)
+ poll(NULL,0, -1);
}
return 0;
}