Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
sched.h
1
/*
2
* SPDX-FileCopyrightText: 2025 Marian Buschsieweke
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
/* Inject some ugly workarounds needed for native on sched.h - the issue here
13
* is that RIOT's sched.h shadows POSIX's sched.h - which on glibc contains
14
* a type definition of cpu_set_t needed in a few other glibc headers. Since
15
* (portable) RIOT apps never will actually call any functions provided only
16
* on native, we don't really need to provide a meaningful definition here. */
17
#if __GLIBC__
18
typedef
void
cpu_set_t;
19
#endif
20
21
#ifdef __cplusplus
22
}
23
#endif
24
25
#include_next "sched.h"
Generated on Wed Dec 17 2025 23:17:11 by
1.13.2