mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 65824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r65824 | benjamin.peterson | 2008-08-18 13:01:43 -0500 (Mon, 18 Aug 2008) | 1 line change a few uses of the threading APIs ........
This commit is contained in:
parent
c16a7f3684
commit
7275370770
6 changed files with 16 additions and 16 deletions
|
@ -671,7 +671,7 @@ class _TestCondition(BaseTestCase):
|
|||
|
||||
t = threading.Thread(target=self.f,
|
||||
args=(cond, sleeping, woken, TIMEOUT1))
|
||||
t.set_daemon(True)
|
||||
t.daemon = True
|
||||
t.start()
|
||||
|
||||
# wait for them all to sleep
|
||||
|
@ -693,7 +693,7 @@ class _TestCondition(BaseTestCase):
|
|||
p.start()
|
||||
|
||||
t = threading.Thread(target=self.f, args=(cond, sleeping, woken))
|
||||
t.set_daemon(True)
|
||||
t.daemon = True
|
||||
t.start()
|
||||
|
||||
# wait for them to all sleep
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue