discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Reconfigure example with lock/disconnect/connect/


From: Johannes Schmitz
Subject: Re: [Discuss-gnuradio] Reconfigure example with lock/disconnect/connect/unlock code hangs randomly
Date: Thu, 26 May 2011 16:57:12 +0200

There should be another sleep in the reconfigure method to make it working fine.

   def reconfigure(self):
       self.lock()
       self.disconnect(self.h_block_one)
       self.connect(self.h_block_two)
       sleep(0.0001)
       self.unlock()

I am not sure how long we have to sleep in order to fix the problem.

- Johannes



reply via email to

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