ita_pause_ms.m 190 Bytes
Newer Older
Florian Pausch's avatar
Florian Pausch committed
1
function ita_pause_ms( milli_seconds )
2 3 4
% ita_pause_ms pauses (sleeps) for given time (units in milliseconds)
    java.util.concurrent.locks.LockSupport.parkNanos( milli_seconds * 1e6 );
end