projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add wait-free push/blocking pop stack
[urcu.git]
/
urcu-defer.h
diff --git
a/urcu-defer.h
b/urcu-defer.h
index 00f18ff47af3177c205006139fbc00850d12b446..e161616302383167f4e4e5002e2d12cbae8df05d 100644
(file)
--- a/
urcu-defer.h
+++ b/
urcu-defer.h
@@
-6,7
+6,7
@@
*
* Userspace RCU header - deferred execution
*
*
* Userspace RCU header - deferred execution
*
- * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@
polymtl.ca
>
+ * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@
efficios.com
>
* Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
*
* LGPL-compatible code should include this header with :
* Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
*
* LGPL-compatible code should include this header with :
@@
-32,6
+32,10
@@
#include <stdlib.h>
#include <pthread.h>
#include <stdlib.h>
#include <pthread.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Note: the defer_rcu() API is currently EXPERIMENTAL. It may change in the
* future.
/*
* Note: the defer_rcu() API is currently EXPERIMENTAL. It may change in the
* future.
@@
-64,4
+68,8
@@
extern void rcu_defer_unregister_thread(void);
extern void rcu_defer_barrier(void);
extern void rcu_defer_barrier_thread(void);
extern void rcu_defer_barrier(void);
extern void rcu_defer_barrier_thread(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _URCU_BATCH_H */
#endif /* _URCU_BATCH_H */
This page took
0.023849 seconds
and
4
git commands to generate.