[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Are you trying to call nanosleep from a userspace
application? nanosleep is only available from kernel
space. How long do you need to sleep? The precision
is rather bad for really short sleeps (the function
calls may take more time than the requested sleep
Behalf Of Marko Kurtto
Sent: den 12 juli 2002 07:53
I have problems using nanosleep(). When I compile I get an error message
saying that this function has not been
defined. I have included <time.h>. When I only use the structure
timespec, i.e instantiating a variable, compilator don't complain.
What do I do wrong?
- From: "Marko Kurtto" <email@example.com>