doc/examples: fix typo in list example
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jun 2013 21:45:48 +0000 (17:45 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 22 Jun 2013 16:07:13 +0000 (12:07 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
doc/examples/list/cds_list_for_each_entry_rcu.c
doc/examples/list/cds_list_for_each_rcu.c
doc/examples/qsbr-minimal/qsbr-minimal.c

index b0aff29c1d012d2162724955fd84e89fe7cbdfed..777542b772b3b22229f092bdaff0b291594d3c47 100644 (file)
@@ -10,7 +10,7 @@
  * granted, provided the above notices are retained, and a notice that
  * the code was modified is included with the above copyright notice.
  *
  * granted, provided the above notices are retained, and a notice that
  * the code was modified is included with the above copyright notice.
  *
- * This example shows how to to a RCU linked list traversal, safely
+ * This example shows how to do a RCU linked list traversal, safely
  * against concurrent RCU updates.
  */
 
  * against concurrent RCU updates.
  */
 
@@ -37,7 +37,7 @@ int main(int argc, char **argv)
        struct mynode *node;
 
        /*
        struct mynode *node;
 
        /*
-        * Each thread need using RCU read-side need to be explicitely
+        * Each thread need using RCU read-side need to be explicitly
         * registered.
         */
        rcu_register_thread();
         * registered.
         */
        rcu_register_thread();
index 5de6bcf5f3265f17782140ea7b609ba42a87e2cf..86cc4abf1c2d878abab7481f0981eb0954258ea2 100644 (file)
@@ -10,7 +10,7 @@
  * granted, provided the above notices are retained, and a notice that
  * the code was modified is included with the above copyright notice.
  *
  * granted, provided the above notices are retained, and a notice that
  * the code was modified is included with the above copyright notice.
  *
- * This example shows how to to a RCU linked list traversal, safely
+ * This example shows how to do a RCU linked list traversal, safely
  * against concurrent RCU updates. cds_list_for_each_rcu() iterates on
  * struct cds_list_head, and thus, either caa_container_of() or
  * cds_list_entry() are needed to access the container structure.
  * against concurrent RCU updates. cds_list_for_each_rcu() iterates on
  * struct cds_list_head, and thus, either caa_container_of() or
  * cds_list_entry() are needed to access the container structure.
@@ -39,7 +39,7 @@ int main(int argc, char **argv)
        struct cds_list_head *pos;
 
        /*
        struct cds_list_head *pos;
 
        /*
-        * Each thread need using RCU read-side need to be explicitely
+        * Each thread need using RCU read-side need to be explicitly
         * registered.
         */
        rcu_register_thread();
         * registered.
         */
        rcu_register_thread();
index cc7278d6f89f2c992daa6538029b4555abaf0bef..a7a6ff45e01269b5f22b6ec0916064a653390511 100644 (file)
@@ -68,7 +68,7 @@ int main(int argc, char **argv)
        struct mynode *node, *n;
 
        /*
        struct mynode *node, *n;
 
        /*
-        * Each thread need using RCU read-side need to be explicitely
+        * Each thread need using RCU read-side need to be explicitly
         * registered.
         */
        rcu_register_thread();
         * registered.
         */
        rcu_register_thread();
This page took 0.026943 seconds and 4 git commands to generate.