uatomic/x86: Remove redundant memory barriers
[urcu.git] / tests / unit / urcu-asm.c
1 // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2 //
3 // SPDX-License-Identifier: GPL-2.0-or-later
4
5 /*
6 * urcu-asm.c
7 *
8 * Userspace RCU library - assembly dump of primitives
9 */
10
11 #include <urcu.h>
12
13 void show_read_lock(void)
14 {
15 asm volatile ("/* start */");
16 rcu_read_lock();
17 asm volatile ("/* end */");
18 }
19
20 void show_read_unlock(void)
21 {
22 asm volatile ("/* start */");
23 rcu_read_unlock();
24 asm volatile ("/* end */");
25 }
This page took 0.029197 seconds and 4 git commands to generate.