updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / qthread / COPYING
blob9941ffd311a5085dea5e8aecb65ae3232f339912
1 Copyright 2007 Sandia Corporation. Under the terms of Contract
2 DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
3 certain rights in this software.
5 * Copyright (c) 2007, Sandia Corporation
6 * All rights reserved.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are met:
10 *     * Redistributions of source code must retain the above copyright notice,
11 *       this list of conditions and the following disclaimer.
12 *     * Redistributions in binary form must reproduce the above copyright
13 *       notice, this list of conditions and the following disclaimer in the
14 *       documentation and/or other materials provided with the distribution.
15 *     * Neither the name of the Sandia Corporation nor the names of its
16 *       contributors may be used to endorse or promote products derived from
17 *       this software without specific prior written permission.
19 * THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION ``AS IS'' AND ANY EXPRESS OR
20 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
21 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
22 * EVENT SHALL SANDIA CORPORATION BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
28 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 The qthreads library contains parts of an earlier library (libtask, by Russ
31 Cox) that requires the propogation of its copyright information. This sofware
32 is in the fastcontext directory, namely the files:
34         asm.S
35         power-ucontext.h
36         386-ucontext.h
37         context.c
38         taskimpl.h
40 However, those files have been extensively modified.
42 The rest of the qthread library, which will function on any Unix system with
43 the makecontext()-family of functions, can stand alone. Those files are simply
44 implementations of the makecontext() family of functions for performance.
46 ~~~~~~~~~~~~~
48 The libtask copyright is as follows:
50 This software was developed as part of a project at MIT.
52 Copyright (c) 2005-2006 Russ Cox,
53                    Massachusetts Institute of Technology
55 Permission is hereby granted, free of charge, to any person obtaining
56 a copy of this software and associated documentation files (the
57 "Software"), to deal in the Software without restriction, including
58 without limitation the rights to use, copy, modify, merge, publish,
59 distribute, sublicense, and/or sell copies of the Software, and to
60 permit persons to whom the Software is furnished to do so, subject to
61 the following conditions:
63 The above copyright notice and this permission notice shall be
64 included in all copies or substantial portions of the Software.
66 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
67 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
68 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
69 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
70 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
71 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
72 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
74 ===
76 Contains parts of an earlier library that has:
79  * The authors of this software are Rob Pike, Sape Mullender, and Russ Cox
80  *              Copyright (c) 2003 by Lucent Technologies.
81  * Permission to use, copy, modify, and distribute this software for any
82  * purpose without fee is hereby granted, provided that this entire notice
83  * is included in all copies of any software which is or includes a copy
84  * or modification of this software and in all copies of the supporting
85  * documentation for such software.
86  * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
87  * WARRANTY.  IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE ANY
88  * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
89  * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.