Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
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
/* PTHREAD_SCHEDULING_H */
59
pthread_t
unsigned pthread_t
Datatype to identify a POSIX thread.
Definition:
pthread_threading.h:30
pthread_getschedparam
int pthread_getschedparam(pthread_t target_thread, int *policy, struct sched_param *param)
Unimplemented.
pthread_setschedparam
int pthread_setschedparam(pthread_t target_thread, int policy, const struct sched_param *param)
Unimplemented.
sched_param
This structure is unused right now, and only exists for POSIX compatibility.
Definition:
pthread_threading_attr.h:39
pthread_setschedprio
int pthread_setschedprio(pthread_t target_thread, int prio)
Unimplemented.
Generated on Tue Nov 24 2020 19:46:52 by
1.8.17