Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10430

Seeking an example on using Queue to update variable while threading

Subject Seeking an example on using Queue to update variable while threading
Date 2011-07-28 00:43 -0500
References <20110727080557.194B.1CBB3534@gmail.com><j0nut4$iln$1@dough.gmane.org> <j0ocpl$l25$1@dough.gmane.org>
From "Danny Wong (dannwong)" <dannwong@cisco.com>
Newsgroups comp.lang.python
Message-ID <mailman.1559.1311831875.1164.python-list@python.org> (permalink)

Show all headers | View raw


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 variables/dicts between threads?

Thanks

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Seeking an example on using Queue to update variable while threading "Danny Wong (dannwong)" <dannwong@cisco.com> - 2011-07-28 00:43 -0500

csiph-web