aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/rtprio.h
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-09-21 04:18:46 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-09-21 04:18:46 +0000
commit73fa3e5b88090b7226dc52d1061f8b5f70954b04 (patch)
tree50ceeec061f18908fb2f17759d6dfce93e7f8c1c /sys/sys/rtprio.h
parent7614e6f347061571907ee78bc9ddfe4fbd7d0fed (diff)
downloadsrc-73fa3e5b88090b7226dc52d1061f8b5f70954b04.tar.gz
src-73fa3e5b88090b7226dc52d1061f8b5f70954b04.zip
Replace system call thr_getscheduler, thr_setscheduler, thr_setschedparam
with rtprio_thread, while rtprio system call is for process only, the new system call rtprio_thread is responsible for LWP.
Notes
Notes: svn path=/head/; revision=162497
Diffstat (limited to 'sys/sys/rtprio.h')
-rw-r--r--sys/sys/rtprio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/rtprio.h b/sys/sys/rtprio.h
index 21268fc60bbe..c450ada1ef98 100644
--- a/sys/sys/rtprio.h
+++ b/sys/sys/rtprio.h
@@ -86,6 +86,7 @@ void pri_to_rtp(struct ksegrp *, struct rtprio *);
__BEGIN_DECLS
int rtprio(int, pid_t, struct rtprio *);
+int rtprio_thread(int, lwpid_t, struct rtprio *);
__END_DECLS
#endif /* !_KERNEL */
#endif /* !_SYS_RTPRIO_H_ */