mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Document units of "timeout" in ConditionVariableTimedSleep()
The timeout is passed down to WaitLatch() as milliseconds. Author: Shveta Malik Discussion: https://postgr.es/m/CAJpy0uC=xiBQD1WapgYYvOiytap6ULJaakLd867zZXqu9tYc8w@mail.gmail.com
This commit is contained in:
		@@ -102,6 +102,8 @@ ConditionVariableSleep(ConditionVariable *cv, uint32 wait_event_info)
 | 
			
		||||
/*
 | 
			
		||||
 * Wait for a condition variable to be signaled or a timeout to be reached.
 | 
			
		||||
 *
 | 
			
		||||
 * The "timeout" is given in milliseconds.
 | 
			
		||||
 *
 | 
			
		||||
 * Returns true when timeout expires, otherwise returns false.
 | 
			
		||||
 *
 | 
			
		||||
 * See ConditionVariableSleep() for general usage.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user