rculfstack/queue: define _LGPL_SOURCE around static header include
[urcu.git] / LICENSE
... / ...
CommitLineData
1Userspace RCU library licensing
2Mathieu Desnoyers
3May 10, 2009
4
5
6* LGPLv2.1
7
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
26See lgpl-relicensing.txt for details.
27
28
29* MIT-style license :
30
31xchg() primitive has been rewritten from scratch starting from atomic_ops 1.2
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
41arch_atomic_s390.h
42arch_s390.h
43compiler.h
44
45
46* GPLv2
47
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
55api_gcc.h
56test_urcu.c
57test_urcu_yield.c
58test_rwlock_timing.c
59urcu-asm.c
This page took 0.022089 seconds and 4 git commands to generate.