projects
/
urcu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
015c702
)
qsbr rcu: rc_register_thread also make the thread online.
author
Pierre Habouzit
<madcoder@debian.org>
Tue, 15 Sep 2009 18:09:59 +0000
(14:09 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@polymtl.ca>
Tue, 15 Sep 2009 18:09:59 +0000
(14:09 -0400)
Else, all its RCU reader critical sections aren't safe until its first
_rcu_quiescent_state() call.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
urcu-qsbr.c
patch
|
blob
|
blame
|
history
diff --git
a/urcu-qsbr.c
b/urcu-qsbr.c
index 87c83d7fc154443dcee6329cb75abe2a97c33f8e..878a550b9291d21a464f5e4c1db9e58f1d741ea3 100644
(file)
--- a/
urcu-qsbr.c
+++ b/
urcu-qsbr.c
@@
-251,6
+251,7
@@
static void rcu_remove_reader(pthread_t id)
void rcu_register_thread(void)
{
+ _rcu_thread_online();
internal_urcu_lock();
rcu_add_reader(pthread_self());
internal_urcu_unlock();
This page took
0.025173 seconds
and
4
git commands to generate.