Changeset 27908 for trunk/psLib/src/imageops/psImageConvolve.c
- Timestamp:
- May 10, 2010, 5:09:27 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageConvolve.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.c
r26892 r27908 37 37 38 38 39 39 40 static bool threaded = false; // Run image convolution threaded? 40 41 41 static pthread_mutex_t threadMutex = PTHREAD_MUTEX_INITIALIZER; 42 42 43 43 … … 1679 1679 bool psImageConvolveSetThreads(bool set) 1680 1680 { 1681 psMutexLock(threadMutex); 1681 1682 bool old = threaded; // Old value 1682 1683 if (set && !threaded) { … … 1711 1712 } 1712 1713 threaded = set; 1714 psMutexUnlock(threadMutex); 1713 1715 return old; 1714 1716 }
Note:
See TracChangeset
for help on using the changeset viewer.
