summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/threading.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index cf0e12f..9416f80 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -653,6 +653,18 @@ class Thread(_Verbose):
raise RuntimeError("cannot set daemon status of active thread");
self._daemonic = daemonic
+ def isDaemon(self):
+ return self.daemon
+
+ def setDaemon(self, daemonic):
+ self.daemon = daemonic
+
+ def getName(self):
+ return self.name
+
+ def setName(self, name):
+ self.name = name
+
# The timer class was contributed by Itamar Shtull-Trauring
def Timer(*args, **kwargs):