Loading...
Searching...
No Matches
pthread_scheduling.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
29int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param);
30
39int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param);
40
48int pthread_setschedprio(pthread_t target_thread, int prio);
49
50#ifdef __cplusplus
51}
52#endif
53
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.