[Tutor] Kill A Fuction Call?

Magnus Lycka magnus@thinkware.se
Thu Jan 9 07:15:02 2003


At 07:47 2003-01-09 +0000, Hy Python wrote:
>If all you want is to wait "a certain amount of time", you do not need to 
>kill the thread. When your main thread terminates, all the other thread 
>will die automatically.

But if you have a long running program in your main thread,
you might not like to have big, CPU intensive jobs that you
stopped waiting for running in another thread... For a
server this might be a killer.


-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se