Commit | Line | Data |
---|---|---|
1 | build instructions for userspace-rcu library : | |
2 | ||
3 | make pthreads-x86 | |
4 | or | |
5 | make pthreads-ppc | |
6 | ||
7 | make | |
8 | make install | |
9 | ||
10 | Usage : | |
11 | ||
12 | Registration of _each thread_ calling read-side critical sections must be done | |
13 | with rcu_register_thread() before using rcu_read_lock()/rcu_read_unlock(). | |
14 | ||
15 | Unregistration should be performed with rcu_unregister_thread() before exiting | |
16 | the thread. | |
17 | ||
18 | Mathieu Desnoyers |