| 1 | #ifndef _URCU_CHECKER_H |
| 2 | #define _URCU_CHECKER_H |
| 3 | |
| 4 | /* |
| 5 | * urcu-checker.h |
| 6 | * |
| 7 | * Userspace RCU checker header |
| 8 | * |
| 9 | * Copyright (c) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 10 | * |
| 11 | * LGPL-compatible code should include this header with : |
| 12 | * |
| 13 | * This library is free software; you can redistribute it and/or |
| 14 | * modify it under the terms of the GNU Lesser General Public |
| 15 | * License as published by the Free Software Foundation; either |
| 16 | * version 2.1 of the License, or (at your option) any later version. |
| 17 | * |
| 18 | * This library is distributed in the hope that it will be useful, |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 21 | * Lesser General Public License for more details. |
| 22 | * |
| 23 | * You should have received a copy of the GNU Lesser General Public |
| 24 | * License along with this library; if not, write to the Free Software |
| 25 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 26 | */ |
| 27 | |
| 28 | void rcu_read_lock_debug(void); |
| 29 | void rcu_read_unlock_debug(void); |
| 30 | void rcu_read_ongoing_check_debug(const char *func); |
| 31 | |
| 32 | #endif /* _URCU_CHECKER_H */ |