[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] fftw3 thread safety ?

From: Sylvain Munaut
Subject: Re: [Discuss-gnuradio] fftw3 thread safety ?
Date: Thu, 14 Aug 2014 12:52:32 +0200


> Can someone point me to
> the way gnuradio solves this thread safety issue (which must be solved
> since I can use as many FFT display blocks I want) ?

See planner::mutex() in gr-fft/lib/fft.cc

> The semaphore
> solution is not really satisfactory since I'd like not to ask my block
> to wait for all other data processing to be completed before I can
> complete its own task.

The execution (fftw_execute and variants) is safe and can be executed
by several threads in //, even on the same plan object.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]