Subject: Re: usleep doesn't work
To: None <>
From: maximum entropy <>
List: current-users
Date: 08/18/1997 03:36:53
>From: Rick Byers <>
>usleep() on my NetBSD-1.2G/i386 (Aug 14) appears to be broken.  A call to
>usleep(15000000) sleeps for 15 seconds on my NetBSD-1.2.1 box, but
>promptly returns on my -current machine.  Does this happen to others as
>well?  I'm just going to use nanosleep, but usleep being broken would
>probably mess up some other things.

I can verify that usleep((unsigned int)15000000) returns immediately,
on NetBSD/i386 from around Aug 11.

On NetBSD/vax from Aug 16 I cannot reproduce this.

So, most likely either it's an i386-specific bug, or it's been fixed

entropy -- it's not just a good idea, it's the second law.

This message may refer to a product containing software developed by
Christopher G. Demetriou for the NetBSD Project.