|
Packit |
fe9d6e |
Our intent is to make it easy to use libatomic_ops, in
|
|
Packit |
fe9d6e |
both free and proprietary software. Hence most code that we expect to be
|
|
Packit |
fe9d6e |
linked into a client application is covered by an MIT-style license.
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
A few library routines are covered by the GNU General Public License.
|
|
Packit |
fe9d6e |
These are put into a separate library, libatomic_ops_gpl.a .
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
The low-level part of the library is mostly covered by the following
|
|
Packit |
fe9d6e |
license:
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
----------------------------------------
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
Copyright (c) ...
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
Packit |
fe9d6e |
of this software and associated documentation files (the "Software"), to deal
|
|
Packit |
fe9d6e |
in the Software without restriction, including without limitation the rights
|
|
Packit |
fe9d6e |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
Packit |
fe9d6e |
copies of the Software, and to permit persons to whom the Software is
|
|
Packit |
fe9d6e |
furnished to do so, subject to the following conditions:
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
The above copyright notice and this permission notice shall be included in all
|
|
Packit |
fe9d6e |
copies or substantial portions of the Software.
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
Packit |
fe9d6e |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
Packit |
fe9d6e |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
Packit |
fe9d6e |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
Packit |
fe9d6e |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
Packit |
fe9d6e |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
Packit |
fe9d6e |
SOFTWARE.
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
--------------------------------
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
A few files in the sysdeps directory were inherited in part from the
|
|
Packit |
fe9d6e |
Boehm-Demers-Weiser conservative garbage collector, and are covered by
|
|
Packit |
fe9d6e |
its license, which is similar in spirit:
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
--------------------------------
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
Copyright (c) ...
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
|
|
Packit |
fe9d6e |
OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
Permission is hereby granted to use or copy this program
|
|
Packit |
fe9d6e |
for any purpose, provided the above notices are retained on all copies.
|
|
Packit |
fe9d6e |
Permission to modify the code and to distribute modified code is granted,
|
|
Packit |
fe9d6e |
provided the above notices are retained, and a notice that the code was
|
|
Packit |
fe9d6e |
modified is included with the above copyright notice.
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
----------------------------------
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
A few files are covered by the GNU General Public License. (See file
|
|
Packit |
fe9d6e |
"COPYING".) This applies only to test code, sample applications,
|
|
Packit |
fe9d6e |
and the libatomic_ops_gpl portion of the library.
|
|
Packit |
fe9d6e |
Thus libatomic_ops_gpl should generally not be linked into proprietary code.
|
|
Packit |
fe9d6e |
(This distinction was motivated by patent considerations.)
|
|
Packit |
fe9d6e |
|
|
Packit |
fe9d6e |
It is possible that the license of the GPL pieces may be changed for
|
|
Packit |
fe9d6e |
future versions to make them more consistent with the rest of the package.
|
|
Packit |
fe9d6e |
If you submit patches, and have strong preferences about licensing, please
|
|
Packit |
fe9d6e |
express them.
|