Changeset 19058 for trunk/psLib/src/fft/psFFT.h
- Timestamp:
- Aug 13, 2008, 5:23:13 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/fft/psFFT.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/fft/psFFT.h
r18956 r19058 2 2 #define PS_FFT_H 3 3 4 /// Set number of threads to use with all FFTs 4 // Only fftw_execute is thread-safe: all other calls have to be wrapped in a mutex 5 6 /// Lock FFT mutex 7 void psFFTLock(void); 8 9 /// Unlock FFT mutex 10 void psFFTUnlock(void); 11 12 /// Set number of threads for FFTW to use 5 13 /// 6 /// Pass zero to turn off threading 14 /// Pass zero to turn off threading. Note that the FFTW threads are *independent* of any other threads set up 15 /// throuhg, e.g., psThread. 7 16 bool psFFTThreads(int threads // Number of threads 8 17 );
Note:
See TracChangeset
for help on using the changeset viewer.
