projects
/
yazproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32c6e33
)
Use pthread_cond_broadcast to signal 'stop server'
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 5 Oct 2005 12:05:40 +0000
(12:05 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 5 Oct 2005 12:05:40 +0000
(12:05 +0000)
src/msg-thread.cpp
patch
|
blob
|
history
diff --git
a/src/msg-thread.cpp
b/src/msg-thread.cpp
index
69ea656
..
224176f
100644
(file)
--- a/
src/msg-thread.cpp
+++ b/
src/msg-thread.cpp
@@
-1,4
+1,4
@@
-/* $Id: msg-thread.cpp,v 1.9 2005-09-26 09:22:59 adam Exp $
+/* $Id: msg-thread.cpp,v 1.10 2005-10-05 12:05:40 adam Exp $
Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
@@
-101,7
+101,7
@@
Msg_Thread::~Msg_Thread()
{
pthread_mutex_lock(&m_mutex_input_data);
m_stop_flag = true;
- pthread_cond_signal(&m_cond_input_data);
+ pthread_cond_broadcast(&m_cond_input_data);
pthread_mutex_unlock(&m_mutex_input_data);
int i;