git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
521fe38
)
do not sleep locked in notif-il
author
Michal Voců
<michal@ruk.cuni.cz>
Wed, 19 Sep 2007 14:42:19 +0000
(14:42 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Wed, 19 Sep 2007 14:42:19 +0000
(14:42 +0000)
org.glite.lb.logger/src/queue_thread.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/queue_thread.c
b/org.glite.lb.logger/src/queue_thread.c
index
8064ce7
..
cb5424e
100644
(file)
--- a/
org.glite.lb.logger/src/queue_thread.c
+++ b/
org.glite.lb.logger/src/queue_thread.c
@@
-148,7
+148,6
@@
queue_thread(void *q)
if(pthread_mutex_unlock(&flush_lock) < 0)
abort();
#else
- event_queue_cond_lock(eq);
#endif
/* if there was some error with server, sleep for a while */
@@
-162,6
+161,11
@@
queue_thread(void *q)
}
#endif
+#if defined(INTERLOGD_HANDLE_CMD) && defined(INTERLOGD_FLUSH)
+#else
+ event_queue_cond_lock(eq);
+#endif
+
if(exit) {
/* we have to clean up before exiting */
event_queue_cond_unlock(eq);