ita_pause.m 167 Bytes
Newer Older
Florian Pausch's avatar
Florian Pausch committed
1
function ita_pause( seconds )
2
% ita_pause pauses (sleeps) for given time (units in seconds)
Florian Pausch's avatar
Florian Pausch committed
3
    java.util.concurrent.locks.LockSupport.parkNanos( seconds * 1e9 );
4
end