Commit | Line | Data |
---|---|---|
a77f7d82 MD |
1 | #ifndef _URCU_DEBUG_H |
2 | #define _URCU_DEBUG_H | |
3 | ||
4 | /* | |
5 | * urcu/debug.h | |
6 | * | |
7 | * Userspace RCU debugging facilities. | |
8 | * | |
9 | * Copyright (c) 2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
10 | * | |
11 | * Permission is hereby granted, free of charge, to any person obtaining a copy | |
12 | * of this software and associated documentation files (the "Software"), to deal | |
13 | * in the Software without restriction, including without limitation the rights | |
14 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
15 | * copies of the Software, and to permit persons to whom the Software is | |
16 | * furnished to do so, subject to the following conditions: | |
17 | * | |
18 | * The above copyright notice and this permission notice shall be included in | |
19 | * all copies or substantial portions of the Software. | |
20 | */ | |
21 | ||
01477510 | 22 | #include <urcu/assert.h> |
a77f7d82 | 23 | |
2a27e931 FD |
24 | /* |
25 | * For backward compatibility reasons, this file must expose the urcu_assert() | |
26 | * macro. | |
27 | */ | |
28 | #define urcu_assert(_cond) urcu_assert_debug(_cond) | |
29 | ||
a77f7d82 | 30 | #endif /* _URCU_DEBUG_H */ |