nanosleep() replacement Take 2

Darren Tucker dtucker at
Tue Mar 18 11:59:33 EST 2003

Ben Lindstrom wrote:
> Mostly -l was designed to allow people to restrict their scp so it does
> not take over their bandwidth (mainly dialup and low-end DSL).  The
> example was given was a long download that you don't care when it
> finishes, just you don't want to choke your small pipe while doing it.
> So I doubt it being 100% perfect is a major deal on some platforms.

I know, but a major variance is an indication of some problem in the
nanosleep function and in future someone might use nanosleep where
timing matters.

Darren Tucker (dtucker at
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list