From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- linuxthreads/man/pthread_setschedparam.man | 79 ------------------------------ 1 file changed, 79 deletions(-) delete mode 100644 linuxthreads/man/pthread_setschedparam.man (limited to 'linuxthreads/man/pthread_setschedparam.man') diff --git a/linuxthreads/man/pthread_setschedparam.man b/linuxthreads/man/pthread_setschedparam.man deleted file mode 100644 index 3992927837..0000000000 --- a/linuxthreads/man/pthread_setschedparam.man +++ /dev/null @@ -1,79 +0,0 @@ -.TH PTHREAD_SETSCHEDPARAM 3 LinuxThreads - -.XREF pthread_getschedparam - -.SH NAME -pthread_setschedparam, pthread_getschedparam \- control thread scheduling parameters - -.SH SYNOPSIS -#include - -int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param); - -int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param); - -.SH DESCRIPTION - -!pthread_setschedparam! sets the scheduling parameters for the thread -|target_thread| as indicated by |policy| and |param|. |policy| can be -either !SCHED_OTHER! (regular, non-realtime scheduling), !SCHED_RR! -(realtime, round-robin) or !SCHED_FIFO! (realtime, first-in -first-out). |param| specifies the scheduling priority for the two -realtime policies. See !sched_setpolicy!(2) for more information on -scheduling policies. - -The realtime scheduling policies !SCHED_RR! and !SCHED_FIFO! are -available only to processes with superuser privileges. - -!pthread_getschedparam! retrieves the scheduling policy and scheduling -parameters for the thread |target_thread| and store them in the -locations pointed to by |policy| and |param|, respectively. - -.SH "RETURN VALUE" -!pthread_setschedparam! and !pthread_getschedparam! return 0 on -success and a non-zero error code on error. - -.SH ERRORS -On error, !pthread_setschedparam! returns the following error codes: -.RS -.TP -!EINVAL! -|policy| is not one of !SCHED_OTHER!, !SCHED_RR!, !SCHED_FIFO! - -.TP -!EINVAL! -the priority value specified by |param| is not valid for the specified policy - -.TP -!EPERM! -the calling process does not have superuser permissions - -.TP -!ESRCH! -the |target_thread| is invalid or has already terminated - -.TP -!EFAULT! -|param| points outside the process memory space -.RE - -On error, !pthread_getschedparam! returns the following error codes: -.RS -.TP -!ESRCH! -the |target_thread| is invalid or has already terminated - -.TP -!EFAULT! -|policy| or |param| point outside the process memory space -.RE - -.SH AUTHOR -Xavier Leroy - -.SH "SEE ALSO" -!sched_setscheduler!(2), -!sched_getscheduler!(2), -!sched_getparam!(2), -!pthread_attr_setschedpolicy!(3), -!pthread_attr_setschedparam!(3). -- cgit 1.4.1