projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa8c36e
)
Document thread registration in urcu.h
author
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Sat, 16 May 2009 21:27:06 +0000
(17:27 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Sat, 16 May 2009 21:27:06 +0000
(17:27 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu.h
patch
|
blob
|
blame
|
history
diff --git
a/urcu.h
b/urcu.h
index b46033f29090582749b949f30e2a6d95e2723c79..af7d75cb7bc9e389ba9896a9207695d4feea9540 100644
(file)
--- a/
urcu.h
+++ b/
urcu.h
@@
-34,6
+34,14
@@
#include <stdlib.h>
#include <pthread.h>
+/*
+ * Important !
+ *
+ * Each thread containing read-side critical sections must be registered
+ * with rcu_register_thread() before calling rcu_read_lock().
+ * rcu_unregister_thread() should be called before the thread exits.
+ */
+
#ifdef _LGPL_SOURCE
#include <urcu-static.h>
This page took
0.026057 seconds
and
4
git commands to generate.