Re: Threading for a newbie

2006-01-05 Thread Koncept
In article <[EMAIL PROTECTED]>, Scott David Daniels <[EMAIL PROTECTED]> wrote: > You generally want to avoid mutation of anything in more than one > thread, and prefer to only share reading between threads. The only > time you can do more than that is when you _know_ the modification > is "atomic

Re: Threading for a newbie

2006-01-05 Thread Scott David Daniels
Koncept wrote: > Hi. I am fairly new to Python programming and am having some trouble > wrapping my head around threading. Threading sounds simpler than it is. Here is a classic Pythonic solution related to yours: > What I would like to learn from this example is how to use threads to > call on o

Re: Threading for a newbie

2006-01-05 Thread Jean-Paul Calderone
On Thu, 05 Jan 2006 17:15:20 -0500, Koncept <[EMAIL PROTECTED]> wrote: > >Hi. I am fairly new to Python programming and am having some trouble >wrapping my head around threading. > It's pretty much the standard threading model. >This is a very basic example of what I am trying to do, and would >g

Threading for a newbie

2006-01-05 Thread Koncept
Hi. I am fairly new to Python programming and am having some trouble wrapping my head around threading. This is a very basic example of what I am trying to do, and would greatly appreciate having this code hacked to pieces so that I can learn from you folks with experience. What I would like to