Threading/forking under Python

Alex Maranda amaranda at nospam.com
Fri May 14 06:06:20 EDT 1999


Martin PLACEK wrote:
> 
> Hello,
> 
>         I'm new to python, and would like to know if it is possible to thread function
> calls. I have tried using 'start_new_thread'. But, when I execute it within the
> interpreter I find myself waiting for the function to complete before I can make
> my next function call.
Don't bother with the low level 'thread' package; use the higher level
'threading' package (in 1.5.1 it was documented in threading_api.py,
this might have changed in 1.5.2).

Cheers,
-- 
Alex Maranda         mailto: amaranda at spider dot com
Spider Software Ltd. Tel: +44 (0)131 4757036
Edinburgh, UK        http://members.xoom.com/Alex_Maranda
STREAMS based communications protocols for embedded systems




More information about the Python-list mailing list