Killing a running thread

Aahz aahz at pythoncraft.com
Thu May 2 21:40:40 EDT 2002


In article <mailman.1020367386.17930.python-list at python.org>,
Alexander Skwar  <ASkwar at DigitalProjects.com> wrote:
>=BBMichael Gilfix=AB sagte am 2002-05-02 um 15:00:17 -0400 :
>>
>>   Just write your own map that's threadable, i.e, applies a function
>> to each argument in the list and appends it. Should be trivial to
>> write and you can check the threaded argument.
>
>Wouldn't this be way slower than the built in map?

Not enough to matter, particularly if you're using something like
Threading.Event.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"I used to have a .sig but I found it impossible to please everyone..."  --SFJ



More information about the Python-list mailing list