projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: x86 and s390 uatomic: __hp() macro warning with gcc 11
[urcu.git]
/
src
/
urcu-defer-impl.h
diff --git
a/src/urcu-defer-impl.h
b/src/urcu-defer-impl.h
index b2e1b3cab6c72428c138e45fb800ebdedd0e0a53..8b5ad972421d52f523f18146a3a1a068c2bcb661 100644
(file)
--- a/
src/urcu-defer-impl.h
+++ b/
src/urcu-defer-impl.h
@@
-50,6
+50,7
@@
#include <urcu/system.h>
#include <urcu/tls-compat.h>
#include "urcu-die.h"
#include <urcu/system.h>
#include <urcu/tls-compat.h>
#include "urcu-die.h"
+#include "urcu-utils.h"
/*
* Number of entries in the per-thread defer queue. Must be power of 2.
/*
* Number of entries in the per-thread defer queue. Must be power of 2.
@@
-107,7
+108,7
@@
struct defer_queue {
};
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
};
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
-#include
"urcu-defer.h"
+#include
<urcu/defer.h>
void __attribute__((destructor)) rcu_defer_exit(void);
void __attribute__((destructor)) rcu_defer_exit(void);
@@
-126,7
+127,7
@@
static int32_t defer_thread_stop;
* Written to only by each individual deferer. Read by both the deferer and
* the reclamation tread.
*/
* Written to only by each individual deferer. Read by both the deferer and
* the reclamation tread.
*/
-static DEFINE_URCU_TLS
_IE
(struct defer_queue, defer_queue);
+static DEFINE_URCU_TLS(struct defer_queue, defer_queue);
static CDS_LIST_HEAD(registry_defer);
static pthread_t tid_defer;
static CDS_LIST_HEAD(registry_defer);
static pthread_t tid_defer;
@@
-371,7
+372,7
@@
static void _defer_rcu(void (*fct)(void *p), void *p)
wake_up_defer();
}
wake_up_defer();
}
-static void *thr_defer(void *args)
+static void *thr_defer(void *args
__attribute__((unused))
)
{
for (;;) {
/*
{
for (;;) {
/*
This page took
0.025302 seconds
and
4
git commands to generate.