Commit | Line | Data |
---|---|---|
ce29b371 MJ |
1 | // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
2 | // SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. | |
3 | // | |
4 | // SPDX-License-Identifier: LGPL-2.1-or-later | |
5 | ||
2650042a | 6 | /* |
2650042a MD |
7 | * Userspace RCU library tests - Debugging code |
8 | * | |
2650042a MD |
9 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. |
10 | */ | |
11 | ||
12 | #include <urcu/tls-compat.h> | |
13 | #include "debug-yield.h" | |
14 | ||
15 | unsigned int rcu_yield_active; | |
16 | ||
17 | DEFINE_URCU_TLS(unsigned int, rcu_rand_yield); |