This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_nanosleep

Function Documentation

void rc_nanosleep(uint64_t ns)

Sleep in nanoseconds.

A wrapper for the normal UNIX nanosleep function which takes a number of nanoseconds instead of a timeval struct. This also handles restarting nanosleep with the remaining time in the event that nanosleep is interrupted by a signal. There is no upper limit on the time requested.

Parameters

ns[in] nanoseconds to sleep