Commit | Line | Data |
---|---|---|
af02d47e MD |
1 | Userspace RCU library licensing |
2 | Mathieu Desnoyers | |
3 | May 10, 2009 | |
4 | ||
0114ba7f MD |
5 | |
6 | * LGPLv2.1 | |
7 | ||
af02d47e MD |
8 | The library part is distributed under LGPLv2.1 or later. See lgpl-2.1.txt for |
9 | details. This applies to : | |
10 | ||
11 | urcu.h | |
12 | urcu.c | |
13 | urcu-static.h | |
14 | arch_x86.h | |
15 | arch_ppc.h | |
16 | ||
17 | LGPL-compatible source code can statically use the library header using : | |
18 | ||
19 | #define _LGPL_SOURCE | |
20 | #include <urcu.h> | |
21 | ||
22 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not | |
23 | defined. It permits relinking with newer versions of the library, which is | |
24 | required by the LGPL license. | |
25 | ||
b92c90fc MD |
26 | See lgpl-relicensing.txt for details. |
27 | ||
0114ba7f MD |
28 | |
29 | * MIT-style license : | |
30 | ||
1050892f | 31 | xchg() primitive has been rewritten from scratch starting from atomic_ops 1.2 |
0114ba7f MD |
32 | which has a MIT-style license that is intended to allow use in both free and |
33 | proprietary software: | |
34 | http://www.hpl.hp.com/research/linux/atomic_ops/LICENSING.txt | |
35 | http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ | |
36 | ||
37 | This license applies to : | |
38 | ||
39 | arch_atomic_x86.h | |
40 | arch_atomic_ppc.h | |
2dc5fa0f | 41 | compiler.h |
0114ba7f MD |
42 | |
43 | ||
44 | * GPLv2 | |
45 | ||
af02d47e MD |
46 | Library test code is distributed under the GPLv2 license. See gpl-2.0.txt for |
47 | details. This applies to : | |
48 | ||
49 | urcutorture.h | |
50 | urcutorture.c | |
51 | api_x86.h | |
52 | api_ppc.h | |
53 | test_urcu.c | |
54 | test_urcu_yield.c | |
55 | test_rwlock_timing.c | |
5e13fab8 | 56 | urcu-asm.c |