X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=LICENSE;h=4aba77615e4774adb1fa82292535a5b84fdc4b01;hp=6a52b4b489980870db052fe8b1248a46d96edfac;hb=0114ba7f23f86623c237baeb28ec8e4b39b9bb84;hpb=5e13fab888d07ba3657ac9e1eb0441450ea17837 diff --git a/LICENSE b/LICENSE index 6a52b4b..4aba776 100644 --- a/LICENSE +++ b/LICENSE @@ -2,6 +2,9 @@ Userspace RCU library licensing Mathieu Desnoyers May 10, 2009 + +* LGPLv2.1 + The library part is distributed under LGPLv2.1 or later. See lgpl-2.1.txt for details. This applies to : @@ -20,6 +23,23 @@ Dynamic-only linking with the LGPL library is used if _LGPL_SOURCE is not defined. It permits relinking with newer versions of the library, which is required by the LGPL license. + +* MIT-style license : + +xchg() privimitive has been rewritten from scratch starting from atomic_ops 1.2 +which has a MIT-style license that is intended to allow use in both free and +proprietary software: + http://www.hpl.hp.com/research/linux/atomic_ops/LICENSING.txt + http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ + +This license applies to : + +arch_atomic_x86.h +arch_atomic_ppc.h + + +* GPLv2 + Library test code is distributed under the GPLv2 license. See gpl-2.0.txt for details. This applies to : @@ -31,3 +51,10 @@ test_urcu.c test_urcu_yield.c test_rwlock_timing.c urcu-asm.c + + +Various details : + +ACCESS_ONCE(), likely(), unlikely() and barrier() are considered trivial enough +that copyright does not apply to them. I (Mathieu Desnoyers) re-typed them from +scratch in a mail client just to prove it.