coder.fftw.StandaloneFFTW3Interface.lock
Class: coder.fftw.StandaloneFFTW3Interface
Namespace: coder.fftw
Lock access to FFTW planning
Syntax
coder.fftw.StandaloneFFTW3Interface.lock()
Description
coder.fftw.StandaloneFFTW3Interface.lock()
locks access to the
planning process for FFTW library calls in generated standalone code.
When multiple threads call an FFTW library, implement this method in an FFT library
callback class that derives from
coder.fftw.StandaloneFFTW3Interface
.
Examples
Version History
Introduced in R2017b
See Also
Topics
- Speed Up Fast Fourier Transforms in Generated Standalone Code by Using FFTW Library Calls
- Synchronize Multithreaded Access to FFTW Planning in Generated Standalone Code
- Speed Up Fast Fourier Transforms in Code Generated from a MATLAB Function Block (Simulink Coder)
- Synchronize Multithreaded FFTW Planning in Code Generated from a MATLAB Function Block (Simulink Coder)