projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: urcu-wait: futex wait: handle spurious futex wakeups
[userspace-rcu.git]
/
src
/
urcu.c
diff --git
a/src/urcu.c
b/src/urcu.c
index 2cac0b602d6694a945bef8692a9b38ed97c13152..e64432f8bb7034cf3ef63cacc03aca7884133b74 100644
(file)
--- a/
src/urcu.c
+++ b/
src/urcu.c
@@
-23,6
+23,7
@@
* IBM's contributions to this file may be relicensed under LGPLv2 or later.
*/
* IBM's contributions to this file may be relicensed under LGPLv2 or later.
*/
+#define URCU_NO_COMPAT_IDENTIFIERS
#define _BSD_SOURCE
#define _LGPL_SOURCE
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _LGPL_SOURCE
#define _DEFAULT_SOURCE
@@
-37,6
+38,7
@@
#include <stdbool.h>
#include <poll.h>
#include <stdbool.h>
#include <poll.h>
+#include <urcu/config.h>
#include <urcu/arch.h>
#include <urcu/wfcqueue.h>
#include <urcu/map/urcu.h>
#include <urcu/arch.h>
#include <urcu/wfcqueue.h>
#include <urcu/map/urcu.h>
@@
-620,7
+622,9
@@
void alias_rcu_init(void);
#endif
#ifdef RCU_SIGNAL
#endif
#ifdef RCU_SIGNAL
-static void sigrcu_handler(int signo, siginfo_t *siginfo, void *context)
+static void sigrcu_handler(int signo __attribute__((unused)),
+ siginfo_t *siginfo __attribute__((unused)),
+ void *context __attribute__((unused)))
{
/*
* Executing this cmm_smp_mb() is the only purpose of this signal handler.
{
/*
* Executing this cmm_smp_mb() is the only purpose of this signal handler.
This page took
0.023669 seconds
and
4
git commands to generate.