parent
							
								
									a583a2bc59
								
							
						
					
					
						commit
						161a2ccf7a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -9,8 +9,10 @@ | ||||||
| namespace nix { | namespace nix { | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | #if HAVE_SCHED_SETAFFINITY | ||||||
| static bool didSaveAffinity = false; | static bool didSaveAffinity = false; | ||||||
| static cpu_set_t savedAffinity; | static cpu_set_t savedAffinity; | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| void setAffinityTo(int cpu) | void setAffinityTo(int cpu) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue