diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-11-24 22:59:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-11-24 22:59:03 +0000 |
commit | f1f2cafcd4c23ac4f4077b78fbddff1ffea8b951 (patch) | |
tree | 36f377ee010387d9c44bfc049ea7156e6dc2972a /nptl/sysdeps/pthread/pthread.h | |
parent | 09594e7ad11ce42ae8ae0b35055ae0b4ec1c3eba (diff) | |
download | glibc-f1f2cafcd4c23ac4f4077b78fbddff1ffea8b951.zip glibc-f1f2cafcd4c23ac4f4077b78fbddff1ffea8b951.tar.gz glibc-f1f2cafcd4c23ac4f4077b78fbddff1ffea8b951.tar.bz2 |
Update.
2004-11-24 Ulrich Drepper <drepper@redhat.com>
* Makefile (libpthread-routines): Add pthread_setschedprio.
* Versions [libpthread, GLIBC_2.3.4]: Add pthread_setschedprio.
* sysdeps/pthread/pthread.h: Declare pthread_setschedprio.
* pthread_setschedprio.c: New file.
Diffstat (limited to 'nptl/sysdeps/pthread/pthread.h')
-rw-r--r-- | nptl/sysdeps/pthread/pthread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/pthread.h b/nptl/sysdeps/pthread/pthread.h index 2766648..5046a69 100644 --- a/nptl/sysdeps/pthread/pthread.h +++ b/nptl/sysdeps/pthread/pthread.h @@ -373,6 +373,10 @@ extern int pthread_getschedparam (pthread_t __target_thread, struct sched_param *__restrict __param) __THROW; +/* Set the scheduling priority for TARGET_THREAD. */ +extern int pthread_setschedprio (pthread_t __target_thread, int __prio) + __THROW; + #ifdef __USE_UNIX98 /* Determine level of concurrency. */ |