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: nansai hu
Subject: Re: [Discuss-gnuradio] how to define a globe variable in py?
Date: Fri, 11 Sep 2009 15:56:40 -0400

That means out of any class?
Or could show me a example, thanks

2009/9/11 Fernando Rodrigues <address@hidden>
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]