Module fftw3::lock [-]  [+] [src]

Some functions in FFTW are not thread-safe, and one should ensure that only one thread is executing these at a time. This module provides a lock for this purpose.

Statics

LOCK

Hold this lock when doing anything thread-unsafe with FFTW.

Functions

run

Run the given closure inside the critical section of the FFTW lock.