uatomic/x86: Remove redundant memory barriers
[urcu.git] / tests / unit / test_urcu_multiflavor-mb.c
CommitLineData
ce29b371
MJ
1// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2//
3// SPDX-License-Identifier: GPL-2.0-or-later
4
f89147e9 5/*
f89147e9 6 * Userspace RCU library - test multiple RCU flavors into one program
f89147e9
MD
7 */
8
9#ifndef DYNAMIC_LINK_TEST
10#define _LGPL_SOURCE
11#endif
12
13#define RCU_MB
14#include <urcu.h>
b5002bee 15#include "test_urcu_multiflavor.h"
f89147e9
MD
16
17int test_mf_mb(void)
18{
19 rcu_register_thread();
20 rcu_read_lock();
21 rcu_read_unlock();
22 synchronize_rcu();
23 rcu_unregister_thread();
24 return 0;
25}
This page took 0.040389 seconds and 4 git commands to generate.