Index: /trunk/psLib/src/imageops/psImageConvolve.c
===================================================================
--- /trunk/psLib/src/imageops/psImageConvolve.c	(revision 27909)
+++ /trunk/psLib/src/imageops/psImageConvolve.c	(revision 27910)
@@ -1679,5 +1679,5 @@
 bool psImageConvolveSetThreads(bool set)
 {
-    psMutexLock(threadMutex);
+    pthread_mutex_lock(&threadMutex);
     bool old = threaded;                // Old value
     if (set && !threaded) {
@@ -1712,5 +1712,5 @@
     }
     threaded = set;
-    psMutexUnlock(threadMutex);
+    pthread_mutex_unlock(&threadMutex);
     return old;
 }
