File 0008-Properly-shut-down-if-provider-crashed.patch of Package sblim-sfcb.17403
From 2e79417a544042c65c0a2b6352dcbc78ebbf1590 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de>
Date: Fri, 15 Nov 2013 12:56:04 -0500
Subject: [PATCH 08/25] Properly shut down if provider crashed
---
sfcBroker.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sfcBroker.c b/sfcBroker.c
index ca043c9fa01c..4fb2e0aa9e97 100644
--- a/sfcBroker.c
+++ b/sfcBroker.c
@@ -262,7 +262,9 @@ stopBroker(void *p)
if (stopNextProc()) {
pthread_cond_timedwait(&sdCnd, &sdMtx, &waitTime);
}
- // else providersStopped=1;
+ else {
+ providersStopped=1;
+ }
pthread_mutex_unlock(&sdMtx);
}
if (providersStopped)
--
2.15.0