Bart Lateur wrote:
> What if we take the ordinary sleep() for the largest part of the
> sleeping time (no busy wait), and the 4 argument select for the
> remainder, i.e. subsecond?

You're trying to solve a problem that doesn't exist.

Sleep doesn't have the signal delivery problems that alarm has,
but IMHO sleep and alarm must have identical argument semantics.
Since we can't reasonably provide sub-second alarm resolution
then sleep can't have it either.

If you need sub-second resolution and accuracy then use an
external module. It will be a tough module to implement -- and
very platform specific.

- Ken

Reply via email to