mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-10-31 16:21:27 +08:00 
			
		
		
		
	Fix the sig_handler check
This commit is contained in:
		| @@ -46,7 +46,7 @@ constexpr constant metal::thread_scope thread_scope_system = | ||||
|         metal::mem_flags::mem_device, | ||||
|         metal::memory_order_seq_cst, | ||||
|         metal::thread_scope_system); | ||||
|     if (timestamp[0] >= value || sig_handler[0] >= 0) { | ||||
|     if (timestamp[0] >= value || sig_handler[0] > 0) { | ||||
|       break; | ||||
|     } | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Angelos Katharopoulos
					Angelos Katharopoulos