1 // SPDX-FileCopyrightText: 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2 // SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation.
4 // SPDX-License-Identifier: LGPL-2.1-or-later
10 * Userspace RCU header - deferred execution
12 * This header is meant to be included indirectly through a liburcu
24 * Note: the defer_rcu() API is currently EXPERIMENTAL. It may change in the
29 * Each thread queuing memory reclamation must be registered with
30 * rcu_defer_register_thread(). rcu_defer_unregister_thread() should be
31 * called before the thread exits.
33 * *NEVER* use defer_rcu() within a RCU read-side critical section, because this
34 * primitive need to call synchronize_rcu() if the thread queue is full.
37 extern void defer_rcu(void (*fct
)(void *p
), void *p
);
40 * Thread registration for reclamation.
42 extern int rcu_defer_register_thread(void);
43 extern void rcu_defer_unregister_thread(void);
44 extern void rcu_defer_barrier(void);
45 extern void rcu_defer_barrier_thread(void);
51 #endif /* _URCU_DEFER_H */
This page took 0.030063 seconds and 4 git commands to generate.