repeat something in a thread, but stop when the program stops

Harald Massa cpl.19.ghum at spamgourmet.com
Tue Sep 28 17:56:44 EDT 2004


Dennis,

>> see my tasktray collecting more and more icons of programs which just
>> do a very tiny amount of work every half a second, and ... as them
>> getting many, the computer begins to feel more sluggish.
>      Is this under Windows?
>      I've never seen Python threads creating icons. 

For sure you have not. It is quite some work to create task-tray icons 
using python. A simple thread hopefully will never do that.

The problem is not that severe than you seem to have got the impression 
from my talks. I just am very housewifely about computer ressources. And 
the programms in the systray are different programs, most not in Python. 
Just used that as an explanation, WHY I am looking at "cycles that get 
wasted waiting for nothing"

Harald



More information about the Python-list mailing list