|
From: | Marcus Müller |
Subject: | Re: [Discuss-gnuradio] "Catching" end of flowgraph execution with GUI |
Date: | Tue, 05 May 2015 17:22:55 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
Hi Nemanja, typically, clicking your "start" button would spawn a new thread, in which you top_block.start(), .stop() and .wait(); after wait returns, you would then use whatever multithreading framework you're using to notify the threads that need to know. GNU Radio is not very callback-oriented, i.e. there's no "hooks" in the scheduler -- typically, you use "active" things like message passing to hand information around. Greetings, Marcus On 05/05/2015 02:00 PM, Nemanja Savic
wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |