Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
scheduler_types.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2020 Inria
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
20
21
#include "opendefs.h"
22
#include "scheduler.h"
23
#include "
event/callback.h
"
24
#include "memarray.h"
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
33
typedef
struct
{
34
event_callback_t
task_buff
[TASK_LIST_DEPTH];
35
memarray_t
memarray
;
36
}
scheduler_vars_t
;
37
38
#if SCHEDULER_DEBUG_ENABLE
42
typedef
struct
{
43
uint8_t numTasksCur;
44
uint8_t numTasksMax;
45
} scheduler_dbg_t;
46
#endif
47
48
#ifdef __cplusplus
49
}
50
#endif
callback.h
Provides a callback-with-argument event type.
event_callback_t
Callback Event structure definition.
Definition
callback.h:45
memarray_t
Memory pool.
Definition
memarray.h:32
scheduler_vars_t
OpenWSN scheduler variables structure.
Definition
scheduler_types.h:33
scheduler_vars_t::memarray
memarray_t memarray
Memarray management.
Definition
scheduler_types.h:35
scheduler_vars_t::task_buff
event_callback_t task_buff[TASK_LIST_DEPTH]
Task buffer.
Definition
scheduler_types.h:34
Generated on Sat Oct 3 2026 14:10:59 by
1.13.2