From 7bde24c3cdc85ebc0356bca317d8689f491c0894 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 9 Jul 2001 20:51:44 +0000 Subject: [PATCH] updates. --- CHANGES | 3 +++ lib/silcutil/silctask.c | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index d6cf2759..235f8417 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,9 @@ Mon Jul 9 18:28:34 EEST 2001 Pekka Riikonen * Fixed the configure.in.pre to detect the pthread correctly on various systems. + * Fixed a deadlock in silc_task_queue_wakeup in the file + lib/silcutil/silctask.c. + Mon Jul 9 13:40:03 EEST 2001 Pekka Riikonen * Added new function silc_schedule_wakeup that is used in diff --git a/lib/silcutil/silctask.c b/lib/silcutil/silctask.c index 18089ae5..c210ffef 100644 --- a/lib/silcutil/silctask.c +++ b/lib/silcutil/silctask.c @@ -55,9 +55,7 @@ void silc_task_queue_free(SilcTaskQueue queue) void silc_task_queue_wakeup(SilcTaskQueue queue) { - silc_mutex_lock(queue->lock); silc_schedule_wakeup(queue->schedule); - silc_mutex_unlock(queue->lock); } /* Adds a non-timeout task into the task queue. This function is used -- 2.24.0