Any good tutorial on python 3 threading?
#4
I found the problem, it was kind of insidious.  The addon creates a Timer subclass of threading.Thread.  That Thread subclass defines an attribute self._stop to create an event object that was set in the Timer's stop method.  Somehow that was causing problems in the threading.Thread.join method (tried to set the event).  Just renaming the attribute to _xstop solved it.  Not sure why.

scott s.
.
maintainer of skin  Aeon MQ5 mods for post-Gotham Kodi releases:
Matrix
Leia see: 304472
Reply


Messages In This Thread
RE: Any good tutorial on python 3 threading? - by scott967 - 2020-07-01, 22:55


Logout Mark Read Team Forum Stats Members Help
Any good tutorial on python 3 threading?0
This forum uses Lukasz Tkacz MyBB addons.