mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Two places where _time() should be used said time.time(), which
doesn't work of course.
This commit is contained in:
		
							parent
							
								
									6884af706b
								
							
						
					
					
						commit
						b39e461b89
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -416,9 +416,9 @@ def join(self, timeout=None): | |||
|             if __debug__: | ||||
|                 self._note("%s.join(): thread stopped", self) | ||||
|         else: | ||||
|             deadline = time.time() + timeout | ||||
|             deadline = _time() + timeout | ||||
|             while not self.__stopped: | ||||
|                 delay = deadline - time.time() | ||||
|                 delay = deadline - _time() | ||||
|                 if delay <= 0: | ||||
|                     if __debug__: | ||||
|                         self._note("%s.join(): timed out", self) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum