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
9#pragma once
10
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#include "riot_mbedtls_config.h"
26
27#if IS_ACTIVE(MBEDTLS_THREADING_ALT)
28#include "mutex.h"
29
33typedef struct {
34 mutex_t riot_mutex;
35} mbedtls_threading_mutex_t;
36
37#endif /* MBEDTLS_THREADING_ALT */
38
39#ifdef __cplusplus
40}
41#endif
Mutex for thread synchronization.
Configuration options (set of defines)
Mutex structure.
Definition mutex.h:39