mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Sjoerd's thread changes (including down_sema typo fix).
Note: waitflag not supported on NT.
This commit is contained in:
		
							parent
							
								
									5b1d9bad32
								
							
						
					
					
						commit
						cf1474b73a
					
				
					 8 changed files with 47 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -274,10 +274,11 @@ void free_sema _P1(sema, type_sema sema)
 | 
			
		|||
	dprintf(("free_sema(%lx) called\n", (long) sema));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void down_sema _P1(sema, type_sema sema)
 | 
			
		||||
int down_sema _P2(sema, type_sema sema, waitflag, int waitflag)
 | 
			
		||||
{
 | 
			
		||||
	dprintf(("down_sema(%lx) called\n", (long) sema));
 | 
			
		||||
	dprintf(("down_sema(%lx, %d) called\n", (long) sema, waitflag));
 | 
			
		||||
	dprintf(("down_sema(%lx) return\n", (long) sema));
 | 
			
		||||
	return -1;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void up_sema _P1(sema, type_sema sema)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue