tests: Add tests for checking race conditions
[urcu.git] / include / urcu / uatomic / riscv.h
CommitLineData
d3d3857f
MJ
1// SPDX-FileCopyrightText: 2018 Michael Jeanson <mjeanson@efficios.com>
2//
3// SPDX-License-Identifier: MIT
4
fdfad810
MJ
5/*
6 * Atomic exchange operations for the RISC-V architecture. Let GCC do it.
fdfad810
MJ
7 */
8
9#ifndef _URCU_ARCH_UATOMIC_RISCV_H
10#define _URCU_ARCH_UATOMIC_RISCV_H
11
12#include <urcu/compiler.h>
13#include <urcu/system.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#define UATOMIC_HAS_ATOMIC_BYTE
20#define UATOMIC_HAS_ATOMIC_SHORT
21
22#ifdef __cplusplus
23}
24#endif
25
26#include <urcu/uatomic/generic.h>
27
28#endif /* _URCU_ARCH_UATOMIC_RISCV_H */
This page took 0.034112 seconds and 4 git commands to generate.