7 * Userspace RCU debugging facilities.
9 * Copyright (c) 2015 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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:
18 * The above copyright notice and this permission notice shall be included in
19 * all copies or substantial portions of the Software.
24 #include <urcu/config.h>
26 #if defined(DEBUG_RCU) || defined(CONFIG_RCU_DEBUG)
27 # define urcu_assert_debug(...) assert(__VA_ARGS__)
29 # define urcu_assert_debug(...)
33 * For backward compatibility reasons, this file must expose the urcu_assert()
36 #define urcu_assert(_cond) urcu_assert_debug(_cond)
38 #endif /* _URCU_DEBUG_H */
This page took 0.033936 seconds and 5 git commands to generate.