Changeset 19058 for trunk/psLib/src/fft/psFFT.c
- Timestamp:
- Aug 13, 2008, 5:23:13 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fft/psFFT.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psFFT.c
r19004 r19058 4 4 5 5 #include <fftw3.h> 6 #include <pthread.h> 6 7 7 8 #include "psAssert.h" 8 9 #include "psLogMsg.h" 9 10 #include "psFFT.h" 11 12 static pthread_mutex_t fftwLock = PTHREAD_MUTEX_INITIALIZER; // Lock for FFTW 13 14 void psFFTLock(void) 15 { 16 pthread_mutex_lock(&fftwLock); 17 } 18 19 void psFFTUnlock(void) 20 { 21 pthread_mutex_unlock(&fftwLock); 22 } 10 23 11 24 bool psFFTThreads(int threads)
Note:
See TracChangeset
for help on using the changeset viewer.
