Hi Stephan - You're welcome; glad you found a work-around that fixes the issue!
I'll let others speak to whether Volk is thread-safe.
I can say that the scheduler is the same no matter the OS; but, the actual thread scheduling can be worlds different on different OSs. Thus, executing on Linux might be stable at the same time as on OSX and Window would not be; it can happen.
Good luck with your GR work! - MLD
--
Michael Dickens, OSX Programmer
Ettus Research Technical Support
Email: support@ettus.com
Web: http://www.ettus.com
On Aug 5, 2014, at 3:02 PM, Stefan Oltmanns <stefan-oltmanns@gmx.net> wrote:
> I was able to fix the problem with an extraordinary ugly hack:
>
> I added a global mutex to GnuRadio and protect
> gr::filter::freq_xlating_fir_filter_ccf_impl::build_composite_fir with
> it, so only one instance can call
> gr::filter::kernel::fir_filter_ccc::set_taps at the time.
>
> Stable now on both OS X and Windows. I think it´s definitely a bug in
> Volk, or is Volk not supposed to be thread-safe?
> Can you confirm that bug?
>
> Why it worked on Linux before, I´m not sure, either other code in
> GnuRadio is used or the scheduler of the OS is somehow different, so
> that the problem never occurred.
>
> Thank you very much
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment