From 0782f9a2fbdff6dd93dc7f2dccc8daf834ce8a80 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sat, 17 Mar 2012 19:35:33 +0100 Subject: [PATCH] ecl_musleep() no longer disables interrupts. --- src/c/time.d | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/c/time.d b/src/c/time.d index bd74b7198..d31f13b07 100755 --- a/src/c/time.d +++ b/src/c/time.d @@ -117,11 +117,9 @@ ecl_musleep(double time, bool alertable) tm.tv_sec = (time_t)floor(time); tm.tv_nsec = (long)((time - floor(time)) * 1e9); AGAIN: - ecl_disable_interrupts(); code = nanosleep(&tm, &tm); { int old_errno = errno; - ecl_enable_interrupts(); if (code < 0 && old_errno == EINTR && !alertable) { goto AGAIN; }