Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
threading_alt.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2021 HAW Hamburg
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
19
#ifndef THREADING_ALT_H
20
#define THREADING_ALT_H
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include "
riot_mbedtls_config.h
"
27
28
#if IS_ACTIVE(MBEDTLS_THREADING_ALT)
29
#include "
mutex.h
"
30
34
typedef
struct
{
35
mutex_t
riot_mutex;
36
} mbedtls_threading_mutex_t;
37
38
#endif
/* MBEDTLS_THREADING_ALT */
39
40
#ifdef __cplusplus
41
}
42
#endif
44
#endif
/* THREADING_ALT_H */
mutex.h
Mutex for thread synchronization.
riot_mbedtls_config.h
Configuration options (set of defines)
mutex_t
Mutex structure.
Definition
mutex.h:146
Generated on Sat Dec 21 2024 20:58:03 by
1.9.8