Fix the sig_handler check

This commit is contained in:
Angelos Katharopoulos 2025-03-07 17:31:06 -08:00
parent 3ad9031a7f
commit 127de8821e

View File

@ -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;
}
}