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
9#pragma once
10
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
32int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param);
33
42int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param);
43
51int pthread_setschedprio(pthread_t target_thread, int prio);
52
53#ifdef __cplusplus
54}
55#endif
56
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.