Beginning with threads
Aahz Maruch
aahz at panix.com
Fri Jan 19 10:35:49 EST 2001
In article <948rj1$rhu$1 at nnrp1.deja.com>, <bbhaydon at my-deja.com> wrote:
>
>I am just starting with threads and am trying to grasp what should and
>shouldn't be done... I have a class that uses threads in one of its
>functions. Should I make it inherit from threading??
I recommend inheriting from threading; I think it makes things simpler.
You may want to break up your class into two separate classes.
--
--- Aahz (Copyright 2001 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
I guess I mostly see Life [tm] as a process of closing doors that you
might want to go through. --Aahz
More information about the Python-list
mailing list