| 1 | #ifndef _STATIC_URCU_SIGNAL_NR_H |
| 2 | #define _STATIC_URCU_SIGNAL_NR_H |
| 3 | |
| 4 | /* |
| 5 | * static/urcu-signal-nr.h |
| 6 | * |
| 7 | * Userspace RCU header. |
| 8 | * |
| 9 | * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 10 | * Copyright (c) 2009 Paul E. McKenney, IBM Corporation. |
| 11 | * |
| 12 | * This library is free software; you can redistribute it and/or |
| 13 | * modify it under the terms of the GNU Lesser General Public |
| 14 | * License as published by the Free Software Foundation; either |
| 15 | * version 2.1 of the License, or (at your option) any later version. |
| 16 | * |
| 17 | * This library is distributed in the hope that it will be useful, |
| 18 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 | * Lesser General Public License for more details. |
| 21 | * |
| 22 | * You should have received a copy of the GNU Lesser General Public |
| 23 | * License along with this library; if not, write to the Free Software |
| 24 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 25 | * |
| 26 | * IBM's contributions to this file may be relicensed under LGPLv2 or later. |
| 27 | */ |
| 28 | |
| 29 | /* |
| 30 | * The signal number used by the RCU library can be overridden with |
| 31 | * -DSIGRCU= when compiling the library. |
| 32 | * Provide backward compatibility for liburcu 0.3.x SIGURCU. |
| 33 | */ |
| 34 | #ifdef SIGURCU |
| 35 | #define SIGRCU SIGURCU |
| 36 | #endif |
| 37 | |
| 38 | #ifndef SIGRCU |
| 39 | #define SIGRCU SIGUSR1 |
| 40 | #endif |
| 41 | |
| 42 | #endif /* _STATIC_URCU_SIGNAL_NR_H */ |