However, ECLiPSe will respond to interrupts while asleep. On most operating systems, interrupts will terminate the sleep prematurely.
Success:
[eclipse]: sleep(0.3).
% short sleep
yes. % "yes" appears after 0.3 seconds.
[eclipse]: sleep(63072000).
% long sleep
yes. % "yes" appears after 2 years.