|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] gr-ieee 802.11 and threads for real time |
Date: | Wed, 2 Nov 2016 16:39:11 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
In addition to what Paul wrote: GNU Radio automatically spawns a thread for *every* GNU Radio block. Many of the blocks you see, however, are hierarchical blocks containing multiple blocks inside.
Also note that a question like "how many threads are spawned" can
easily be answered using tools like htop, which are able to list
each thread and its CPU usage. So, if your multithreaded code crashes: well, multithreaded code tends to do that if you're not very strict about keeping the data of multiple threads cleanly separated and spend a lot of thought on how to partition your problem. GNU Radio takes that off your shoulders :) Best regards, Marcus On 11/02/2016 04:24 PM, Garver, Paul W
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |