discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] how to define a globe variable in py?


From: Fernando Rodrigues
Subject: Re: [Discuss-gnuradio] how to define a globe variable in py?
Date: Fri, 11 Sep 2009 15:44:34 -0300

you should declare the variable out of the threads and use something similar to a lock. because you're using threads, if you don't use locks, a operation of read/write could lead to mistaken results.


Fernando Rodrigues

reply via email to

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