[Tutor] Threads

Kent Johnson kent37 at tds.net
Mon Nov 15 23:30:38 CET 2004


OK, maybe there is something for me to learn here. How would you 
implement a single-producer, multi-consumer system like the OP described 
without threads?

Kent

Gonçalo Rodrigues wrote:
> Terry Carroll wrote:
> 
>> On Sun, 14 Nov 2004, Kent Johnson wrote:
>>
>>
>>> I'm starting to think there is a cultural bias against threads in the 
>>> python community.
>>
>> I think there's a bias against threads in the tutorial mailing list, 
>> which is kind of understandable.  It's a big leap in writing and 
>> debugging.  I suspect that most programmers who are looking for help, 
>> and who are proficient enough to use threads, would probably be 
>> hitting the comp.lang.python newsgroup, rather than python-tutor.
>>
> 
> Agreed. Threads can seem simple but they have associated all the 
> shenanigans of synchronization and deadlocking, starvation, race 
> conditions, etc. And all these problems can be *very* hard to debug.


More information about the Tutor mailing list