pthread_scheduling.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 RenĂ© Kijewski <rene.kijewski@fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
18 #ifndef SYS__POSIX__PTHREAD_SCHEDULING__H
19 #define SYS__POSIX__PTHREAD_SCHEDULING__H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
33 int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param);
34 
43 int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param);
44 
52 int pthread_setschedprio(pthread_t target_thread, int prio);
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* SYS__POSIX__PTHREAD_SCHEDULING__H */
59 
int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param)
Unimplemented.
This structure is unused right now, and only exists for POSIX compatibility.
int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param)
Unimplemented.
unsigned pthread_t
Datatype to identify a POSIX thread.
int pthread_setschedprio(pthread_t target_thread, int prio)
Unimplemented.