Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d810626f
Commit
d810626f
authored
Aug 18, 2008
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bring back the old API
parent
a9b2222d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
Lib/threading.py
Lib/threading.py
+12
-0
No files found.
Lib/threading.py
View file @
d810626f
...
...
@@ -683,6 +683,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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment