aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/thr.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-09-22 15:04:28 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-09-22 15:04:28 +0000
commitcda9a0d1c2c835b8c10b15ee1f8837094c19984b (patch)
tree7d2bb2f3f83c1c91a2809fed7db73be3c84171ce /sys/sys/thr.h
parente58b17ea53d374df051ce90cedfca38ed43f5641 (diff)
downloadsrc-cda9a0d1c2c835b8c10b15ee1f8837094c19984b.tar.gz
src-cda9a0d1c2c835b8c10b15ee1f8837094c19984b.zip
Add compatible code to let 32bit libthr work on 64bit kernel.
Notes
Notes: svn path=/head/; revision=162551
Diffstat (limited to 'sys/sys/thr.h')
-rw-r--r--sys/sys/thr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/thr.h b/sys/sys/thr.h
index bd2723e8feb9..216ef6fc210e 100644
--- a/sys/sys/thr.h
+++ b/sys/sys/thr.h
@@ -64,6 +64,10 @@ int thr_kill(long id, int sig);
int thr_suspend(const struct timespec *timeout);
int thr_wake(long id);
int thr_set_name(long id, const char *name);
+#else
+struct thread;
+int kern_thr_new(struct thread *td, struct thr_param *param);
+int kern_thr_suspend(struct thread *, struct timespec *);
#endif /* !_KERNEL */
#endif /* ! _SYS_THR_H_ */