diff options
author | Paul Saab <ps@FreeBSD.org> | 2005-01-19 17:44:59 +0000 |
---|---|---|
committer | Paul Saab <ps@FreeBSD.org> | 2005-01-19 17:44:59 +0000 |
commit | 7fdf2c856f3f34fcf25ff3d85cf0f9462d0ff1f0 (patch) | |
tree | 4dbcb40b97fc174b8128b1608f54a20fb79fb0d8 /sys/sys/time.h | |
parent | aa959e0d1778b74368c6f63464ba31beccbc15de (diff) | |
download | src-7fdf2c856f3f34fcf25ff3d85cf0f9462d0ff1f0.tar.gz src-7fdf2c856f3f34fcf25ff3d85cf0f9462d0ff1f0.zip |
- rename nanosleep1 to kern_nanosleep
- Add a 32bit syscall entry for nanosleep
Reviewed by: peter
Obtained from: Yahoo!
Notes
Notes:
svn path=/head/; revision=140481
Diffstat (limited to 'sys/sys/time.h')
-rw-r--r-- | sys/sys/time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/time.h b/sys/sys/time.h index 5371838dd5a0..6e83f5f2e29b 100644 --- a/sys/sys/time.h +++ b/sys/sys/time.h @@ -297,6 +297,10 @@ int ratecheck(struct timeval *, const struct timeval *); void timevaladd(struct timeval *t1, const struct timeval *t2); void timevalsub(struct timeval *t1, const struct timeval *t2); int tvtohz(struct timeval *tv); + +struct thread; +int kern_nanosleep(struct thread *td, struct timespec *rqt, + struct timespec *rmt); #else /* !_KERNEL */ #include <time.h> |