discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Regarding lock protection when setting private variab


From: Achilleas Anastasopoulos
Subject: [Discuss-gnuradio] Regarding lock protection when setting private variables in gnuradio blocks
Date: Wed, 15 Oct 2014 11:49:50 -0400

My question arose from a comment that Jonathan made on one of the pull requests
in gnuradio (#293).

If we have a set function in a gr block that sets some private variable that is
used in the work function, do we need to protect it to make the whole operation thread safe?

Is this a standard practice in gnuradio blocks?
eg, why is this not used in "add_const_vXX_impl.h.t" ?


thanks
Achilleas

reply via email to

[Prev in Thread] Current Thread [Next in Thread]