Macaulay2 » Documentation
Packages » Macaulay2Doc » The Macaulay2 language » system facilities » nanosleep
next | previous | forward | backward | up | index | toc

# nanosleep -- sleep for a given number of nanoseconds

## Description

nanosleep n -- sleeps for n nanoseconds.

    i1 : elapsedTime nanosleep 500000000
     -- .500135s elapsed

    o1 = 0

## See also

- sleep -- sleep for a while

## For the programmer

The object nanosleep is a compiled function.

The source of this document is in /build/macaulay2-88fgJW/macaulay2-1.25.11+ds/M2/Macaulay2/packages/Macaulay2Doc/ov_system.m2:883:0.