| 1 | Userspace RCU library licensing |
| 2 | Mathieu Desnoyers |
| 3 | May 10, 2009 |
| 4 | |
| 5 | The library part is distributed under LGPLv2.1 or later. See lgpl-2.1.txt for |
| 6 | details. This applies to : |
| 7 | |
| 8 | urcu.h |
| 9 | urcu.c |
| 10 | urcu-static.h |
| 11 | arch_x86.h |
| 12 | arch_ppc.h |
| 13 | |
| 14 | LGPL-compatible source code can statically use the library header using : |
| 15 | |
| 16 | #define _LGPL_SOURCE |
| 17 | #include <urcu.h> |
| 18 | |
| 19 | Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not |
| 20 | defined. It permits relinking with newer versions of the library, which is |
| 21 | required by the LGPL license. |
| 22 | |
| 23 | Library test code is distributed under the GPLv2 license. See gpl-2.0.txt for |
| 24 | details. This applies to : |
| 25 | |
| 26 | urcutorture.h |
| 27 | urcutorture.c |
| 28 | api_x86.h |
| 29 | api_ppc.h |
| 30 | test_urcu.c |
| 31 | test_urcu_yield.c |
| 32 | test_rwlock_timing.c |