mardi 28 octobre 2014

Do I have to call super.join() when subclassing threading.Thread?


Vote count:

0




I have a subclass of threading.thread that is running a cherrypy server. My join() method looks like this:



def join(self):
cherrypy.engine.exit()
super(MyThread, self).join()


Do I have to explicitly have to call super.join()? What exactly does it do after I have explicitly stopped the cherrypy server?



asked 52 secs ago







Do I have to call super.join() when subclassing threading.Thread?

Aucun commentaire:

Enregistrer un commentaire