On Fri, May 22, 2015 at 1:22 PM, marco Ribero <spam.marco.s...@gmail.com>
wrote:

> Hi,
> I've a question about thread management..I like the fact that scheduler
> can launch blocks in different threads, but I'd like to execute some blocks
> inside the same thread(CUDA require to perform all operations from a single
> thread)..for the moment I'm using GR_SCHEDULED=STS,but it blocks at all
> multithreading..Is it possible to set a thread affinity?(I've looked
> https://gnuradio.org/doc/doxygen/page_affinity.html, but it doesn't help)
>
> Thanks,
> marco
>

Don't use the STS scheduler. It is, after all, the Single-Threaded
Scheduler. And setting the thread affinity under that condition is a nop.
That will only work with the default TPB scheduler.

Tom
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to