From 4f3dc42ef6cea93dede6bd299cac614fc6bddada Mon Sep 17 00:00:00 2001 From: Marius Gerbershagen Date: Sat, 14 Nov 2020 20:21:13 +0100 Subject: [PATCH] time.d: allow for interrupts during (sleep) on Windows There's little reason for not doing so and on Unix systems one can already interrupt sleeping threads. --- src/c/time.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c/time.d b/src/c/time.d index aba7272a0..37b1dffac 100644 --- a/src/c/time.d +++ b/src/c/time.d @@ -193,7 +193,7 @@ cl_sleep(cl_object z) time = 1e-9; } } ECL_WITHOUT_FPE_END; - ecl_musleep(time, 0); + ecl_musleep(time, 1); @(return ECL_NIL); }