aboutsummaryrefslogtreecommitdiff
path: root/posix/sched.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
committerUlrich Drepper <drepper@redhat.com>1999-10-09 21:56:43 +0000
commitc1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch)
tree7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /posix/sched.h
parenta4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff)
downloadglibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.bz2
glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'posix/sched.h')
-rw-r--r--posix/sched.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/posix/sched.h b/posix/sched.h
index e9c99c252f..01db91cdfe 100644
--- a/posix/sched.h
+++ b/posix/sched.h
@@ -34,30 +34,30 @@
__BEGIN_DECLS
/* Set scheduling parameters for a process. */
-extern int sched_setparam __P ((__pid_t __pid,
- __const struct sched_param *__param));
+extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
+ __THROW;
/* Retrieve scheduling parameters for a particular process. */
-extern int sched_getparam __P ((__pid_t __pid, struct sched_param *__param));
+extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __THROW;
/* Set scheduling algorithm and/or parameters for a process. */
-extern int sched_setscheduler __P ((__pid_t __pid, int __policy,
- __const struct sched_param *__param));
+extern int sched_setscheduler (__pid_t __pid, int __policy,
+ __const struct sched_param *__param) __THROW;
/* Retrieve scheduling algorithm for a particular purpose. */
-extern int sched_getscheduler __P ((__pid_t __pid));
+extern int sched_getscheduler (__pid_t __pid) __THROW;
/* Yield the processor. */
-extern int sched_yield __P ((void));
+extern int sched_yield (void) __THROW;
/* Get maximum priority value for a scheduler. */
-extern int sched_get_priority_max __P ((int __algorithm));
+extern int sched_get_priority_max (int __algorithm) __THROW;
/* Get minimum priority value for a scheduler. */
-extern int sched_get_priority_min __P ((int __algorithm));
+extern int sched_get_priority_min (int __algorithm) __THROW;
/* Get the SCHED_RR interval for the named process. */
-extern int sched_rr_get_interval __P ((__pid_t __pid, struct timespec *__t));
+extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __THROW;
__END_DECLS