a very newbie question about threading
Jorgen Grahn
jgrahn-nntq at algonet.se
Tue Nov 16 13:32:08 EST 2004
On Fri, 12 Nov 2004 21:59:04 -0600, Mike Meyer <mwm at mired.org> wrote:
> chrispatton at gmail.com (Chris Patton) writes:
>
>> I've recenently stumbled upon a concept known as "threading". Can
>> anyone tell me what this IS and how it is used, or show me where I can
>> get information about this?
>
> Now that you know what they are - be warned that they tend to be a
> source of very hard to track down bugs. If you can avoid writing
> threaded code, do so. One common use of threads is to handle multiple
> IO streams at one time. Asyncore is a much saner solution to that
> problem.
For more threading criticism along those lines, see Eric Raymond's TAOUP:
http://www.catb.org/~esr/writings/taoup/html/ch07s03.html#id2923889
/Jorgen
--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
More information about the Python-list
mailing list