Add rcu_flavor
[urcu.git] / urcu.h
diff --git a/urcu.h b/urcu.h
index d4c87535d27caaac96111b946305454d884a676f..cd4fcbbfd0a871878e006faa561b74a15c91ab57 100644 (file)
--- a/urcu.h
+++ b/urcu.h
@@ -44,7 +44,7 @@
 extern "C" {
 #endif 
 
-#include "urcu/map/urcu.h"
+#include <urcu/map/urcu.h>
 
 /*
  * Important !
@@ -107,11 +107,27 @@ extern void rcu_unregister_thread(void);
  */
 extern void rcu_init(void);
 
+/*
+ * Q.S. reporting are no-ops for these URCU flavors.
+ */
+static inline void rcu_quiescent_state(void)
+{
+}
+
+static inline void rcu_thread_offline(void)
+{
+}
+
+static inline void rcu_thread_online(void)
+{
+}
+
 #ifdef __cplusplus 
 }
 #endif
 
-#include "urcu-call-rcu.h"
-#include "urcu-defer.h"
+#include <urcu-call-rcu.h>
+#include <urcu-defer.h>
+#include <urcu-flavor.h>
 
 #endif /* _URCU_H */
This page took 0.022845 seconds and 4 git commands to generate.