v / thirdparty / mbedtls / library / threading_internal.h
28 lines · 23 sloc · 858 bytes · 8de6de946e2fb116f77a4e3ad7e167504dacb82f
Raw
1/**
2 * \file threading_internal.h
3 *
4 * \brief Threading interfaces used by the test framework
5 */
6/*
7 * Copyright The Mbed TLS Contributors
8 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
9 */
10
11#ifndef MBEDTLS_THREADING_INTERNAL_H
12#define MBEDTLS_THREADING_INTERNAL_H
13
14#include "common.h"
15
16#include <mbedtls/threading.h>
17
18/* A version number for the internal threading interface.
19 * This is meant to allow the framework to remain compatible with
20 * multiple versions, to facilitate transitions.
21 *
22 * Conventionally, this is the Mbed TLS version number when the
23 * threading interface was last changed in a way that may impact the
24 * test framework, with the lower byte incremented as necessary
25 * if multiple changes happened between releases. */
26#define MBEDTLS_THREADING_INTERNAL_VERSION 0x03060000
27
28#endif /* MBEDTLS_THREADING_INTERNAL_H */
29