[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: fix #6726
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: fix #6726 |
Date: |
Wed, 27 Jan 2021 18:57:41 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 88627af6 fix #6726
88627af6 is described below
commit 88627af6a397a41d476a14a4c85136676fb3e59e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Jan 27 18:57:39 2021 +0100
fix #6726
---
src/util/taler-exchange-secmod-eddsa.c | 2 ++
src/util/taler-exchange-secmod-rsa.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/util/taler-exchange-secmod-eddsa.c
b/src/util/taler-exchange-secmod-eddsa.c
index cd3fc22f..8f458f5e 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -383,6 +383,8 @@ sign_worker (void *cls)
}
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
}
+ if (! in_shutdown)
+ break;
/* queue is empty, wait for work */
GNUNET_assert (0 ==
pthread_cond_wait (&work_cond,
diff --git a/src/util/taler-exchange-secmod-rsa.c
b/src/util/taler-exchange-secmod-rsa.c
index 41d78bcf..27d3d7a9 100644
--- a/src/util/taler-exchange-secmod-rsa.c
+++ b/src/util/taler-exchange-secmod-rsa.c
@@ -446,6 +446,8 @@ sign_worker (void *cls)
}
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
}
+ if (! in_shutdown)
+ break;
/* queue is empty, wait for work */
GNUNET_assert (0 ==
pthread_cond_wait (&work_cond,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: fix #6726,
gnunet <=