projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ifdef C, wait-free stack adaptative pop wait
[urcu.git]
/
urcu
/
rculfqueue.h
diff --git
a/urcu/rculfqueue.h
b/urcu/rculfqueue.h
index b712998c07a929cfa5d49da370bd0c676c72ecdb..01c2092610350155247b87cadd6149aa3b26b4b1 100644
(file)
--- a/
urcu/rculfqueue.h
+++ b/
urcu/rculfqueue.h
@@
-26,6
+26,10
@@
#include <urcu/urcu_ref.h>
#include <assert.h>
#include <urcu/urcu_ref.h>
#include <assert.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#if (!defined(_GNU_SOURCE) && !defined(_LGPL_SOURCE))
#error "Dynamic loader LGPL wrappers not implemented yet"
#endif
#if (!defined(_GNU_SOURCE) && !defined(_LGPL_SOURCE))
#error "Dynamic loader LGPL wrappers not implemented yet"
#endif
@@
-142,4
+146,8
@@
rcu_lfq_dequeue(struct rcu_lfq_queue *q, void (*release)(struct urcu_ref *))
}
}
}
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_RCULFQUEUE_H */
#endif /* _URCU_RCULFQUEUE_H */
This page took
0.023451 seconds
and
4
git commands to generate.