uatomic/x86: Remove redundant memory barriers
[urcu.git] / src / urcu-die.h
1 // SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2 //
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4
5 #ifndef _URCU_DIE_H
6 #define _URCU_DIE_H
7
8 /*
9 * Userspace RCU library unrecoverable error handling
10 */
11
12 #include <stdlib.h>
13 #include <stdio.h>
14 #include <string.h>
15
16 #define urcu_die(cause) \
17 do { \
18 fprintf(stderr, "(" __FILE__ ":%s@%u) Unrecoverable error: %s\n", \
19 __func__, __LINE__, strerror(cause)); \
20 abort(); \
21 } while (0)
22
23 #endif /* _URCU_DIE_H */
This page took 0.033521 seconds and 5 git commands to generate.