Re: Seeking an example on using Queue to update variable while threading

2011-07-28 Thread Kushal Kumaran
On Thu, Jul 28, 2011 at 11:13 AM, Danny Wong (dannwong) dannw...@cisco.com wrote: Hi Python experts,        I'm trying to use a dict structure to store and update information from X number of threads. How do I share this dict structure between threads? I heard of using a queue, but I'm not

Seeking an example on using Queue to update variable while threading

2011-07-27 Thread Danny Wong (dannwong)
Hi Python experts, I'm trying to use a dict structure to store and update information from X number of threads. How do I share this dict structure between threads? I heard of using a queue, but I'm not familiar with how it works. Does anyone have an example of using a queue to store