uatomic/x86: Remove redundant memory barriers
[urcu.git] / LICENSE.md
CommitLineData
29b2b11e
MJ
1# Userspace RCU library licensing
2
3This project is compliant with the [REUSE](https://reuse.software/spec/)
4specification, each file contains [SPDX](https://spdx.org/specifications) tags,
5the full licenses can be found in the `LICENSES/` directory.
6
7
8## Library code
9
10The library part is distributed under `LGPL-2.1-or-later`. See
11`LICENSES/LGPL-2.1-or-later.txt` for license details. Refer to the individual
12file headers for details.
13
14LGPL-compatible source code can statically use the library header using :
15
16````
17#define _LGPL_SOURCE
18#include <urcu.h>
19````
20
21Dynamic-only linking with the LGPL library is used if `_LGPL_SOURCE` is not
22defined. It permits relinking with newer versions of the library, which is
23required by the LGPL license.
24
25See `lgpl-relicensing.md` for details.
26
27
28## Headers
29
30Most headers are also distributed under `LGPL-2.1-or-later`, some include code
31from `atomic_ops` and are distributed under `Boehm-GC` and some others are
32distributed under `MIT`. Refer to the individual file headers for details.
33
34xchg() primitive has been rewritten from scratch starting from `atomic_ops 1.2`
35which has a MIT-style license that is intended to allow use in both free and
36proprietary software:
37
38````
39http://www.hpl.hp.com/research/linux/atomic_ops/LICENSING.txt
40http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
41````
42
43
44## Tests
45
46Library test code is distributed under the `GPL-2.0-only` license. See
47`LICENSES/GPL-2.0-only.txt` for license details. See headers of individual
48files under `tests/` for details.
49
50
51## Documentation
52
53The documentation is distributed under the `CC-BY-4.0` license.
54
55
56## Build system
57
58Build system related files are mostly distributed under the `MIT` license. See
59headers of individual files for details.
60
61
62## Generated data files
63
64Generated data files are distributed under the `CC-1.0` license.
This page took 0.023525 seconds and 4 git commands to generate.