X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Furcu%2Fmap%2Furcu-qsbr.h;h=d177fc53eebd78488020f22378015981a2560f93;hb=d3d3857f678627e7bbfb5a8d6f3bc15cd2a694d9;hp=ce4d50b8cf25c0f78584ceb43825623a7879cea2;hpb=a0ec6d9b6b67e37fc81c98e04008907bc500cde8;p=urcu.git diff --git a/include/urcu/map/urcu-qsbr.h b/include/urcu/map/urcu-qsbr.h index ce4d50b..d177fc5 100644 --- a/include/urcu/map/urcu-qsbr.h +++ b/include/urcu/map/urcu-qsbr.h @@ -1,31 +1,17 @@ +// SPDX-FileCopyrightText: 2009 Paul E. McKenney, IBM Corporation. +// SPDX-FileCopyrightText: 2009 Mathieu Desnoyers +// +// SPDX-License-Identifier: LGPL-2.1-or-later + /* - * urcu/map/urcu-qsbr.h - * * Userspace RCU header -- name mapping to allow multiple flavors to be * used in the same executable. * - * Copyright (c) 2009 Mathieu Desnoyers - * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. - * * LGPL-compatible code should include this header with : * * #define _LGPL_SOURCE * #include * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - * * IBM's contributions to this file may be relicensed under LGPLv2 or later. */ @@ -77,6 +63,10 @@ #define urcu_unregister_rculfhash_atfork \ urcu_qsbr_unregister_rculfhash_atfork +#define start_poll_synchronize_rcu urcu_qsbr_start_poll_synchronize_rcu +#define poll_state_synchronize_rcu urcu_qsbr_poll_state_synchronize_rcu + + /* Compat identifiers for prior undocumented multiflavor usage */ #ifndef URCU_NO_COMPAT_IDENTIFIERS