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