change a few uses of the threading APIs

This commit is contained in:
Benjamin Peterson 2008-08-18 18:01:43 +00:00
parent cbae869759
commit a9b2222de4
6 changed files with 16 additions and 16 deletions

View file

@ -670,7 +670,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
@ -692,7 +692,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