ax_short_sleep

Synopsis

AX_SHORT_SLEEP

Description

This macro searches for a "sleep" function that has 1/1000 of a second accuracy. On some systems, this is known as nap() and on others usleep() / 1000. There are probably other functions like this defined in other system libraries, but we don’t know how to search for them yet. Contributions joyously accepted. :)

Source Code

Download the latest version of ax_short_sleep.m4 or browse the macro’s revision history.

License

Copyright © 2008 Warren Young 

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.