mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	change a few uses of the threading APIs
This commit is contained in:
		
							parent
							
								
									cbae869759
								
							
						
					
					
						commit
						a9b2222de4
					
				
					 6 changed files with 16 additions and 16 deletions
				
			
		|  | @ -670,7 +670,7 @@ def test_notify_all(self): | |||
| 
 | ||||
|             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 @@ def test_notify_all(self): | |||
|             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
	
	 Benjamin Peterson
						Benjamin Peterson