Loading...
Searching...
No Matches
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 PTHREAD_SCHEDULING_H
19#define PTHREAD_SCHEDULING_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
33int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param);
34
43int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param);
44
52int pthread_setschedprio(pthread_t target_thread, int prio);
53
54#ifdef __cplusplus
55}
56#endif
57
58#endif /* PTHREAD_SCHEDULING_H */
59
int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param)
Unimplemented.
int pthread_setschedprio(pthread_t target_thread, int prio)
Unimplemented.
int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param)
Unimplemented.
unsigned pthread_t
Datatype to identify a POSIX thread.
This structure is unused right now, and only exists for POSIX compatibility.