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:
9445966
)
removed #if 0 block from chan_zap restart_monitor()
author
Dwayne M. Hubbard
<dwayne.hubbard@gmail.com>
Tue, 24 Apr 2007 19:08:28 +0000
(19:08 +0000)
committer
Dwayne M. Hubbard
<dwayne.hubbard@gmail.com>
Tue, 24 Apr 2007 19:08:28 +0000
(19:08 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61784
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
1563f6a
..
acafe2d
100644
(file)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-7308,14
+7308,8
@@
static int restart_monitor(void)
return -1;
}
if (monitor_thread != AST_PTHREADT_NULL) {
- /* Just signal it to be sure it wakes up */
-#if 0
- pthread_cancel(monitor_thread);
-#endif
+ /* Wake up the thread */
pthread_kill(monitor_thread, SIGURG);
-#if 0
- pthread_join(monitor_thread, NULL);
-#endif
} else {
/* Start a new monitor */
if (ast_pthread_create_background(&monitor_thread, &attr, do_monitor, NULL) < 0) {