diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2005-05-16 18:21:37 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2005-05-16 18:21:37 +0000 |
commit | e1e371b7079da676f811a467deb497176e6e9eac (patch) | |
tree | 82749e0f8ce0b840ba866d647cb071f5c083f88f /devel/libopendaap/files/patch-threadpool.c | |
parent | - Update to 0.9.0 (diff) |
- Update to 0.4.0
PR: ports/81120
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=135387
Diffstat (limited to 'devel/libopendaap/files/patch-threadpool.c')
-rw-r--r-- | devel/libopendaap/files/patch-threadpool.c | 14 |
1 files changed, 14 insertions, 0 deletions
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; |