2 * urcu/map/urcu-signal.h
4 * Userspace RCU header -- name mapping to allow multiple flavors to be
5 * used in the same executable.
7 * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
10 * LGPL-compatible code should include this header with :
12 * #define _LGPL_SOURCE
15 * This library is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU Lesser General Public
17 * License as published by the Free Software Foundation; either
18 * version 2.1 of the License, or (at your option) any later version.
20 * This library is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 * Lesser General Public License for more details.
25 * You should have received a copy of the GNU Lesser General Public
26 * License along with this library; if not, write to the Free Software
27 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
29 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
32 #define rcu_read_lock urcu_signal_read_lock
33 #define _rcu_read_lock _urcu_signal_read_lock
34 #define rcu_read_unlock urcu_signal_read_unlock
35 #define _rcu_read_unlock _urcu_signal_read_unlock
36 #define rcu_read_ongoing urcu_signal_read_ongoing
37 #define _rcu_read_ongoing _urcu_signal_read_ongoing
38 #define rcu_quiescent_state urcu_signal_quiescent_state
39 #define _rcu_quiescent_state _urcu_signal_quiescent_state
40 #define rcu_thread_offline urcu_signal_thread_offline
41 #define rcu_thread_online urcu_signal_thread_online
42 #define rcu_register_thread urcu_signal_register_thread
43 #define rcu_unregister_thread urcu_signal_unregister_thread
44 #define rcu_init urcu_signal_init
45 #define rcu_exit urcu_signal_exit
46 #define synchronize_rcu urcu_signal_synchronize_rcu
47 #define rcu_reader urcu_signal_reader
48 #define rcu_gp urcu_signal_gp
50 #define get_cpu_call_rcu_data urcu_signal_get_cpu_call_rcu_data
51 #define get_call_rcu_thread urcu_signal_get_call_rcu_thread
52 #define create_call_rcu_data urcu_signal_create_call_rcu_data
53 #define set_cpu_call_rcu_data urcu_signal_set_cpu_call_rcu_data
54 #define get_default_call_rcu_data urcu_signal_get_default_call_rcu_data
55 #define get_call_rcu_data urcu_signal_get_call_rcu_data
56 #define get_thread_call_rcu_data urcu_signal_get_thread_call_rcu_data
57 #define set_thread_call_rcu_data urcu_signal_set_thread_call_rcu_data
58 #define create_all_cpu_call_rcu_data urcu_signal_create_all_cpu_call_rcu_data
59 #define free_all_cpu_call_rcu_data urcu_signal_free_all_cpu_call_rcu_data
60 #define call_rcu urcu_signal_call_rcu
61 #define call_rcu_data_free urcu_signal_call_rcu_data_free
62 #define call_rcu_before_fork urcu_signal_call_rcu_before_fork
63 #define call_rcu_after_fork_parent urcu_signal_call_rcu_after_fork_parent
64 #define call_rcu_after_fork_child urcu_signal_call_rcu_after_fork_child
65 #define rcu_barrier urcu_signal_barrier
67 #define defer_rcu urcu_signal_defer_rcu
68 #define rcu_defer_register_thread urcu_signal_defer_register_thread
69 #define rcu_defer_unregister_thread urcu_signal_defer_unregister_thread
70 #define rcu_defer_barrier urcu_signal_defer_barrier
71 #define rcu_defer_barrier_thread urcu_signal_defer_barrier_thread
72 #define rcu_defer_exit urcu_signal_defer_exit
74 #define rcu_flavor urcu_signal_flavor
76 #define urcu_register_rculfhash_atfork \
77 urcu_signal_register_rculfhash_atfork
78 #define urcu_unregister_rculfhash_atfork \
79 urcu_signal_unregister_rculfhash_atfork
82 /* Aliases for ABI(6) compat */
84 #define alias_rcu_flavor rcu_flavor_sig
87 #define alias_rcu_read_lock rcu_read_lock_sig
88 #define alias_rcu_read_unlock rcu_read_unlock_sig
89 #define alias_rcu_read_ongoing rcu_read_ongoing_sig
90 #define alias_rcu_register_thread rcu_register_thread_sig
91 #define alias_rcu_unregister_thread rcu_unregister_thread_sig
92 #define alias_rcu_init rcu_init_sig
93 #define alias_rcu_exit rcu_exit_sig
94 #define alias_synchronize_rcu synchronize_rcu_sig
95 #define alias_rcu_reader rcu_reader_sig
96 #define alias_rcu_gp rcu_gp_sig
98 /* src/urcu-call-rcu-impl.h */
99 #define alias_get_cpu_call_rcu_data get_cpu_call_rcu_data_sig
100 #define alias_get_call_rcu_thread get_call_rcu_thread_sig
101 #define alias_create_call_rcu_data create_call_rcu_data_sig
102 #define alias_set_cpu_call_rcu_data set_cpu_call_rcu_data_sig
103 #define alias_get_default_call_rcu_data get_default_call_rcu_data_sig
104 #define alias_get_call_rcu_data get_call_rcu_data_sig
105 #define alias_get_thread_call_rcu_data get_thread_call_rcu_data_sig
106 #define alias_set_thread_call_rcu_data set_thread_call_rcu_data_sig
107 #define alias_create_all_cpu_call_rcu_data \
108 create_all_cpu_call_rcu_data_sig
109 #define alias_free_all_cpu_call_rcu_data \
110 free_all_cpu_call_rcu_data_sig
111 #define alias_call_rcu call_rcu_sig
112 #define alias_call_rcu_data_free call_rcu_data_free_sig
113 #define alias_call_rcu_before_fork call_rcu_before_fork_sig
114 #define alias_call_rcu_after_fork_parent \
115 call_rcu_after_fork_parent_sig
116 #define alias_call_rcu_after_fork_child call_rcu_after_fork_child_sig
117 #define alias_rcu_barrier rcu_barrier_sig
119 #define alias_urcu_register_rculfhash_atfork \
120 urcu_register_rculfhash_atfork_sig
121 #define alias_urcu_unregister_rculfhash_atfork \
122 urcu_unregister_rculfhash_atfork_sig
124 /* src/urcu-defer-impl.h */
125 #define alias_defer_rcu defer_rcu_sig
126 #define alias_rcu_defer_register_thread rcu_defer_register_thread_sig
127 #define alias_rcu_defer_unregister_thread \
128 rcu_defer_unregister_thread_sig
129 #define alias_rcu_defer_barrier rcu_defer_barrier_sig
130 #define alias_rcu_defer_barrier_thread rcu_defer_barrier_thread_sig
131 #define alias_rcu_defer_exit rcu_defer_exit_sig
134 /* Compat identifiers for prior undocumented multiflavor usage */
135 #ifndef URCU_NO_COMPAT_IDENTIFIERS
137 #define rcu_dereference_sig urcu_signal_dereference
138 #define rcu_cmpxchg_pointer_sig urcu_signal_cmpxchg_pointer
139 #define rcu_xchg_pointer_sig urcu_signal_xchg_pointer
140 #define rcu_set_pointer_sig urcu_signal_set_pointer
142 #define rcu_sig_before_fork urcu_signal_before_fork
143 #define rcu_sig_after_fork_parent urcu_signal_after_fork_parent
144 #define rcu_sig_after_fork_child urcu_signal_after_fork_child
146 #define rcu_read_lock_sig urcu_signal_read_lock
147 #define _rcu_read_lock_sig _urcu_signal_read_lock
148 #define rcu_read_unlock_sig urcu_signal_read_unlock
149 #define _rcu_read_unlock_sig _urcu_signal_read_unlock
150 #define rcu_read_ongoing_sig urcu_signal_read_ongoing
151 #define _rcu_read_ongoing_sig _urcu_signal_read_ongoing
152 #define rcu_register_thread_sig urcu_signal_register_thread
153 #define rcu_unregister_thread_sig urcu_signal_unregister_thread
154 #define rcu_init_sig urcu_signal_init
155 #define rcu_exit_sig urcu_signal_exit
156 #define synchronize_rcu_sig urcu_signal_synchronize_rcu
157 #define rcu_reader_sig urcu_signal_reader
158 #define rcu_gp_sig urcu_signal_gp
160 #define get_cpu_call_rcu_data_sig urcu_signal_get_cpu_call_rcu_data
161 #define get_call_rcu_thread_sig urcu_signal_get_call_rcu_thread
162 #define create_call_rcu_data_sig urcu_signal_create_call_rcu_data
163 #define set_cpu_call_rcu_data_sig urcu_signal_set_cpu_call_rcu_data
164 #define get_default_call_rcu_data_sig urcu_signal_get_default_call_rcu_data
165 #define get_call_rcu_data_sig urcu_signal_get_call_rcu_data
166 #define get_thread_call_rcu_data_sig urcu_signal_get_thread_call_rcu_data
167 #define set_thread_call_rcu_data_sig urcu_signal_set_thread_call_rcu_data
168 #define create_all_cpu_call_rcu_data_sig \
169 urcu_signal_create_all_cpu_call_rcu_data
170 #define free_all_cpu_call_rcu_data_sig urcu_signal_free_all_cpu_call_rcu_data
171 #define call_rcu_sig urcu_signal_call_rcu
172 #define call_rcu_data_free_sig urcu_signal_call_rcu_data_free
173 #define call_rcu_before_fork_sig \
174 urcu_signal_call_rcu_before_fork
175 #define call_rcu_after_fork_parent_sig urcu_signal_call_rcu_after_fork_parent
176 #define call_rcu_after_fork_child_sig urcu_signal_call_rcu_after_fork_child
177 #define rcu_barrier_sig urcu_signal_barrier
179 #define defer_rcu_sig urcu_signal_defer_rcu
180 #define rcu_defer_register_thread_sig urcu_signal_defer_register_thread
181 #define rcu_defer_unregister_thread_sig urcu_signal_defer_unregister_thread
182 #define rcu_defer_barrier_sig urcu_signal_defer_barrier
183 #define rcu_defer_barrier_thread_sig urcu_signal_defer_barrier_thread
184 #define rcu_defer_exit_sig urcu_signal_defer_exit
186 #define rcu_flavor_sig urcu_signal_flavor
188 #define urcu_register_rculfhash_atfork_sig \
189 urcu_signal_register_rculfhash_atfork
190 #define urcu_unregister_rculfhash_atfork_sig \
191 urcu_signal_unregister_rculfhash_atfork
193 #endif /* URCU_NO_COMPAT_IDENTIFIERS */
This page took 0.035239 seconds and 4 git commands to generate.