|
From: | Mostafa Alizadeh |
Subject: | Re: [Discuss-gnuradio] GNURadio retrictions |
Date: | Tue, 25 Nov 2014 10:12:41 +0330 |
> Please help me find the rational reason!
Because calling "produce" means, "I'm done, go ahead and take those sample".
Don't call it until you are reall done ...
GR is a multi-threaded applications, each work() function is executed
in different threads and as soon as you call produce(), other threads
are signalled that the samples are ready.
Cheers,
Sylvain
[Prev in Thread] | Current Thread | [Next in Thread] |