|
From: | mleech |
Subject: | Re: [Discuss-gnuradio] Regarding lock protection when setting private variables in gnuradio blocks |
Date: | Thu, 16 Oct 2014 10:54:36 -0400 |
User-agent: | Roundcube Webmail/1.0.2 |
Is it not the case that a given instance of a block is only ever executed by a single thread, so instance variables are completely safe to modify in-flight?
There are exceptions, of course, like in FFTW, only a single thread can be "planning" at a time, due to the way FFTW does its thing.
On 2014-10-16 09:58, Tom Rondeau wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |