Update call-rcu.h and defer.h comments and include guards
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 30 Nov 2018 22:08:13 +0000 (17:08 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 12 Dec 2018 15:18:49 +0000 (10:18 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/urcu/call-rcu.h
include/urcu/defer.h

index 339ebacc3f7c013975d62370ca27aa47b282e724..fc63ecd52b8b4b7f2bccd58c0e7ecbcc2c458f98 100644 (file)
@@ -2,17 +2,15 @@
 #define _URCU_CALL_RCU_H
 
 /*
 #define _URCU_CALL_RCU_H
 
 /*
- * urcu-call-rcu.h
+ * urcu/call-rcu.h
  *
  *
- * Userspace RCU header - deferred execution
+ * Userspace RCU header - batch memory reclamation with kernel API
  *
  * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
  *
  *
  * 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 :
- *
- * #define _LGPL_SOURCE
- * #include <urcu-defer.h>
+ * This header is meant to be included indirectly through a liburcu
+ * flavor header.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
index 43eca34fe2f0c363d9f58a2380d1203541590450..67b5f805fe9c2ecda49842acf23002ab2295abaf 100644 (file)
@@ -1,18 +1,16 @@
-#ifndef _URCU_BATCH_H
-#define _URCU_BATCH_H
+#ifndef _URCU_DEFER_H
+#define _URCU_DEFER_H
 
 /*
 
 /*
- * urcu-defer.h
+ * urcu/defer.h
  *
  * Userspace RCU header - deferred execution
  *
  * Copyright (c) 2009 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  * Copyright (c) 2009 Paul E. McKenney, IBM Corporation.
  *
  *
  * Userspace RCU header - deferred execution
  *
  * 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 :
- *
- * #define _LGPL_SOURCE
- * #include <urcu-defer.h>
+ * This header is meant to be included indirectly through a liburcu
+ * flavor header.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -64,4 +62,4 @@ extern void rcu_defer_barrier_thread(void);
 }
 #endif
 
 }
 #endif
 
-#endif /* _URCU_BATCH_H */
+#endif /* _URCU_DEFER_H */
This page took 0.026009 seconds and 4 git commands to generate.