Conceptualizing Threading

Jean-Paul Calderone exarkun at divmod.com
Thu Jun 21 16:24:56 CEST 2007


On Thu, 21 Jun 2007 06:51:17 -0700, JonathanB <doulos05 at gmail.com> wrote:
>I have a multi-access problem that I'm pretty sure needs to be solved
>with threading, but I'm not sure how to do it. This will be my first
>foray into threading, so I'm a little confused by all of the new
>landscape. So, I'm going to lay out the problem I'm facing and if
>someone could point me towards a good example of what I need to do,
>that would be great. I read THE tutorial, and while it made since to
>me in an esoteric sense, I'm not sure how to implement it.

You described how threads introduce a problem in your program -- that of
generating a sequence of sequential identifiers -- but you didn't describe
the problem that threads are solving in your program.  Maybe you don't
need them at all?  What led you to threading in the first place?

Jean-Paul



More information about the Python-list mailing list