diff options
author | imp <imp@FreeBSD.org> | 2005-01-06 23:34:38 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-01-06 23:34:38 +0000 |
commit | 10be4244ac267ff993a8c3cd35634d8ec6926519 (patch) | |
tree | cdddc2b7b5140a9e0de3dc982326dd4fed4845ca /sys/kern | |
parent | 44b8eade2868b46c315c64a0c578c3373ef9b125 (diff) | |
download | FreeBSD-src-10be4244ac267ff993a8c3cd35634d8ec6926519.zip FreeBSD-src-10be4244ac267ff993a8c3cd35634d8ec6926519.tar.gz |
Expand COPYRIGHT inline, per Matthew Dillon's earlier approval.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_mtxpool.c | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/sys/kern/kern_mtxpool.c b/sys/kern/kern_mtxpool.c index 468cdb1..9e64a62 100644 --- a/sys/kern/kern_mtxpool.c +++ b/sys/kern/kern_mtxpool.c @@ -1,9 +1,29 @@ /*- - * Copyright (c) 2001 Matthew Dillon. All Rights Reserved. Copyright - * terms are as specified in the COPYRIGHT file at the base of the source - * tree. + * Copyright (c) 2001 Matthew Dillon. All Rights Reserved. * - * Mutex pool routines. These routines are designed to be used as short + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/* Mutex pool routines. These routines are designed to be used as short * term leaf mutexes (e.g. the last mutex you might aquire other then * calling msleep()). They operate using a shared pool. A mutex is chosen * from the pool based on the supplied pointer (which may or may not be |