RE: RDI code busy-waiting on running target?

Dan Kegel
2002-07-12T00:44:00Z

Grant Edwards wrote:

> Is usleep() portable?

http://sarien.sourceforge.net/hackersguide/intro-portability.html
claims no.

It uses a timer on some platforms, too, so I'd avoid it anyway.

You might consider using select() with no fds to sleep briefly. That's
tradition.

- Dan