extra check for fftw_init_threads, comment on which functions are thread safe