From e1e371b7079da676f811a467deb497176e6e9eac Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 16 May 2005 18:21:37 +0000 Subject: - Update to 0.4.0 PR: ports/81120 Submitted by: Ports Fury --- devel/libopendaap/files/patch-threadpool.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 devel/libopendaap/files/patch-threadpool.c (limited to 'devel/libopendaap/files/patch-threadpool.c') diff --git a/devel/libopendaap/files/patch-threadpool.c b/devel/libopendaap/files/patch-threadpool.c new file mode 100644 index 000000000000..17c47a360572 --- /dev/null +++ b/devel/libopendaap/files/patch-threadpool.c @@ -0,0 +1,14 @@ +--- threadpool.c.orig Tue Dec 14 13:56:23 2004 ++++ threadpool.c Mon May 16 19:23:22 2005 +@@ -279,9 +279,9 @@ + void CP_ThreadPool_QueueWorkItem(CP_SThreadPool *pTPThis, CP_TPfnJob pfnCallback, + void *arg1, void *arg2) + { +- ts_mutex_lock(pTPThis->mtJobQueueMutex); +- + CP_STPJobQueue *pTPJQNewJob = malloc(sizeof(CP_STPJobQueue)); ++ ++ ts_mutex_lock(pTPThis->mtJobQueueMutex); + + pTPJQNewJob->fnJobCallback = pfnCallback; + pTPJQNewJob->arg1 = arg1; -- cgit v1.2.3