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.
This commit is contained in:
Marius Gerbershagen 2020-11-14 20:21:13 +01:00
parent 5f65deea5b
commit 4f3dc42ef6

View file

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