scipy/scipy — pull request #3647 by foogod (2014-05-13 01:51:41+00:00)
Title: Fix for #3596: Make fftconvolve threadsafe

First pass at a fix for #3596: For NumPy versions prior to 1.9.0, will make sure that numpy.fft.rfftn / irfftn are only called from one thread at a time. Will fall back to the slower SciPy complex-FFT routines for all other simultaneous threads.