Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
sched_round_robin.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 TUBA Freiberg
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
32
#ifndef SCHED_ROUND_ROBIN_H
33
#define SCHED_ROUND_ROBIN_H
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
#if !defined(SCHED_RR_TIMEOUT) || defined(DOXYGEN)
45
#if MODULE_ZTIMER_MSEC
46
#define SCHED_RR_TIMEOUT 10
47
#else
48
#define SCHED_RR_TIMEOUT 10000
49
#endif
50
#endif
51
52
#if !defined(SCHED_RR_TIMERBASE) || defined(DOXYGEN)
58
#if MODULE_ZTIMER_MSEC
59
#define SCHED_RR_TIMERBASE ZTIMER_MSEC
60
#else
61
#define SCHED_RR_TIMERBASE ZTIMER_USEC
62
#endif
63
#endif
64
65
#if !defined(SCHED_RR_MASK) || defined(DOXYGEN)
74
#define SCHED_RR_MASK (1 << 0)
75
#endif
76
80
void
sched_round_robin_init
(
void
);
81
82
#ifdef __cplusplus
83
}
84
#endif
85
86
#endif
/* SCHED_ROUND_ROBIN_H */
sched_round_robin_init
void sched_round_robin_init(void)
Initialises the Round Robin Scheduler.
Generated on Thu Nov 21 2024 09:55:58 by
1.9.8