Thread Monitors?

Aahz Maruch aahz at panix.com
Wed Sep 13 16:02:33 CEST 2000


In article <8p68hg$356$0 at pita.alt.net>, Chris Smith <cdsmith at twu.net> wrote:
>"Quasimodo" <KILLzdramboSPAMMERS at zdnetmail.com> wrote...
>>
>> I need to know more than just how many threads are running in total.
>> Stuff like how much memory each thread is holding
>
>Hmm???  There may be a fundamental misunderstanmding of what a thread is
>here... explain what you mean by this.

This is probably a Pythonism.  In Python, the standard threading model
is set up so that normally one inherits from a Thread class; therefore,
each instance of that class is a thread.  Checking to see how much
memory the class instance is consuming would be a natural request, but
like you, I'm not entirely sure how to make sense of it.

(Then again, you may be right that the original poster just plain
doesn't understand threads.  ;-)
-- 
                      --- Aahz (Copyright 2000 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"I'm not aware of any public servant on Usenet, and thank God for that."  --rra



More information about the Python-list mailing list