Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
scheduler_types.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2020 Inria
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
24
#include "opendefs.h"
25
#include "scheduler.h"
26
#include "
event/callback.h
"
27
#include "memarray.h"
28
29
#ifdef __cplusplus
30
extern
"C"
{
31
#endif
32
36
typedef
struct
{
37
event_callback_t
task_buff[TASK_LIST_DEPTH];
38
memarray_t
memarray
;
39
}
scheduler_vars_t
;
40
41
#if SCHEDULER_DEBUG_ENABLE
45
typedef
struct
{
46
uint8_t numTasksCur;
47
uint8_t numTasksMax;
48
} scheduler_dbg_t;
49
#endif
50
51
#ifdef __cplusplus
52
}
53
#endif
callback.h
Provides a callback-with-argument event type.
event_callback_t
Callback Event structure definition.
Definition:
callback.h:48
memarray_t
Memory pool.
Definition:
memarray.h:35
scheduler_vars_t
OpenWSN scheduler variables structure.
Definition:
scheduler_types.h:36
scheduler_vars_t::memarray
memarray_t memarray
Memarray management.
Definition:
scheduler_types.h:38
Generated on Mon Oct 20 2025 13:02:26 by
1.9.1