mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
stdpy: support name and daemon properties in threading2 module
This commit is contained in:
parent
2f31c9ce68
commit
bb3bfebdc2
@ -602,6 +602,9 @@ class Thread(_Verbose):
|
||||
assert not self.__started, "cannot set daemon status of active thread"
|
||||
self.__daemonic = daemonic
|
||||
|
||||
name = property(getName, setName)
|
||||
daemon = property(isDaemon, setDaemon)
|
||||
|
||||
# The timer class was contributed by Itamar Shtull-Trauring
|
||||
|
||||
def Timer(*args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user