~lttng/urcu/trunk

« back to all changes in this revision

Viewing changes to include/urcu/urcu.h

  • Committer: Mathieu Desnoyers
  • Date: 2023-08-21 19:22:27 UTC
  • Revision ID: git-v1:aad674a9a583e09e854145f18c5d8854269dce8c
Complete removal of urcu-signal flavor

This commit completes removal of the urcu-signal flavor.

Users can migrate to liburcu-memb with a kernel implementing the
membarrier(2) system call to have similar read-side performance without
requiring use of a reserved signal, and with improved grace period
performance.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I75b9171e705b9b2ef4c8eeabe6164e5587816fb4

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 * IBM's contributions to this file may be relicensed under LGPLv2 or later.
18
18
 */
19
19
 
20
 
#if !defined(RCU_MEMBARRIER) && !defined(RCU_SIGNAL) && !defined(RCU_MB)
 
20
#if !defined(RCU_MEMBARRIER) && !defined(RCU_MB)
21
21
#define RCU_MEMBARRIER
22
22
#endif
23
23
 
24
24
#ifdef RCU_MEMBARRIER
25
25
#include <urcu/urcu-memb.h>
26
 
#elif defined(RCU_SIGNAL)
27
 
#include <urcu/urcu-signal.h>
28
26
#elif defined(RCU_MB)
29
27
#include <urcu/urcu-mb.h>
30
28
#else