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