27 lines
		
	
	
		
			415 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			27 lines
		
	
	
		
			415 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#pragma once
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifdef __cplusplus
							 | 
						||
| 
								 | 
							
								extern "C" {
							 | 
						||
| 
								 | 
							
								#endif
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								typedef struct {
							 | 
						||
| 
								 | 
							
									void *DebugInfo;
							 | 
						||
| 
								 | 
							
									long LockCount;
							 | 
						||
| 
								 | 
							
									long RecursionCount;
							 | 
						||
| 
								 | 
							
									void *OwningThread;
							 | 
						||
| 
								 | 
							
									void *LockSemaphore;
							 | 
						||
| 
								 | 
							
									unsigned long __w64 SpinCount;
							 | 
						||
| 
								 | 
							
								} kinc_microsoft_critical_section_t;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								typedef struct {
							 | 
						||
| 
								 | 
							
									kinc_microsoft_critical_section_t criticalSection;
							 | 
						||
| 
								 | 
							
								} kinc_mutex_impl_t;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								typedef struct {
							 | 
						||
| 
								 | 
							
									void *id;
							 | 
						||
| 
								 | 
							
								} kinc_uber_mutex_impl_t;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#ifdef __cplusplus
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								#endif
							 |