exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 0e10a48a17fb62364d091d4c498a7ca14cb4eee6
parent 4dd87e111852f25dc5e55c33ee2fb2a3fa475a83
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu, 28 Jan 2021 22:01:03 +0100

swap signal and unlock logic to hopefully nail #6726

Diffstat:
Msrc/util/taler-exchange-secmod-eddsa.c | 2+-
Msrc/util/taler-exchange-secmod-rsa.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/taler-exchange-secmod-eddsa.c b/src/util/taler-exchange-secmod-eddsa.c @@ -637,8 +637,8 @@ handle_sign_request (const struct sockaddr_un *addr, GNUNET_CONTAINER_DLL_insert (work_head, work_tail, wi); - GNUNET_assert (0 == pthread_mutex_unlock (&work_lock)); GNUNET_assert (0 == pthread_cond_signal (&work_cond)); + GNUNET_assert (0 == pthread_mutex_unlock (&work_lock)); } diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c @@ -710,8 +710,8 @@ handle_sign_request (const struct sockaddr_un *addr, GNUNET_CONTAINER_DLL_insert (work_head, work_tail, wi); - GNUNET_assert (0 == pthread_mutex_unlock (&work_lock)); GNUNET_assert (0 == pthread_cond_signal (&work_cond)); + GNUNET_assert (0 == pthread_mutex_unlock (&work_lock)); }