Re: nanosleep
Re: nanosleep
- Subject: Re: nanosleep
- From: Ashley Sanders <email@hidden>
- Date: Mon, 8 Mar 2004 08:42:20 +0000
On Fri, Mar 05, 2004 at 09:25:36AM -0800, Dean N. Williams wrote:
> Dear X11 community,
>
> Has anyone had success in using the nanosleep function? I would like
> to gradually increase the tv_nsec to 5 sec. I don't want to use the
> tv_sec at all. I can get the tv_sec to work, but the tv_nsec doesn't
> seem to be working.
My Mac is at home, but the Solaris man page for nanosleep says it can
return the the following error:
EINVAL
The rqtp argument specified a nanosecond value less
than zero or greater than or equal to 1000 million.
Ie, you can't use nanosleep to sleep for more than 1 second.
Ashley.
--
Ashley Sanders email@hidden
COPAC: A public bibliographic database from MIMAS, funded by JISC
http://copac.ac.uk/ - email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >nanosleep (From: "Dean N. Williams" <email@hidden>) |