mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 19:34:08 +00:00 
			
		
		
		
	Replace WaitForMultipleObjects with WaitForMultipleObjectEx,
for better WinRT compatibility.
This commit is contained in:
		
							parent
							
								
									b26a9b10ea
								
							
						
					
					
						commit
						c8c6563097
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -118,7 +118,7 @@ semlock_acquire(SemLockObject *self, PyObject *args, PyObject *kwds)
 | 
			
		|||
    Py_BEGIN_ALLOW_THREADS
 | 
			
		||||
    if (sigint_event != NULL)
 | 
			
		||||
        ResetEvent(sigint_event);
 | 
			
		||||
    res = WaitForMultipleObjects(nhandles, handles, FALSE, full_msecs);
 | 
			
		||||
    res = WaitForMultipleObjectsEx(nhandles, handles, FALSE, full_msecs, FALSE);
 | 
			
		||||
    Py_END_ALLOW_THREADS
 | 
			
		||||
 | 
			
		||||
    /* handle result */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue