nanosleep
nanosleep
- Subject: nanosleep
- From: "Dean N. Williams" <email@hidden>
- Date: Fri, 05 Mar 2004 09:25:36 -0800
- Organization: PCMDI
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.
struct timespec interval, returnval;
interval.tv_sec = 0;
interval.tv_nsec = 9999;
err = nanosleep (&interval, &returnval );
Thanks in advance and best regards,
Dean
_______________________________________________
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.