Return-Path: Delivered-To: apmail-apr-cvs-archive@apr.apache.org Received: (qmail 69073 invoked by uid 500); 17 Feb 2002 20:17:55 -0000 Mailing-List: contact cvs-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: dev@apr.apache.org Delivered-To: mailing list cvs@apr.apache.org Received: (qmail 69062 invoked from network); 17 Feb 2002 20:17:55 -0000 Date: 17 Feb 2002 20:17:54 -0000 Message-ID: <20020217201754.71879.qmail@icarus.apache.org> From: ianh@apache.org To: apr-cvs@apache.org Subject: cvs commit: apr/atomic/unix apr_atomic.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ianh 02/02/17 12:17:54 Modified: atomic/solaris_sparc apr_atomic_sparc.s atomic/unix apr_atomic.c Added: atomic/solaris_sparc Makefile.in Log: add copyright and missing sparc makefile Revision Changes Path 1.2 +54 -0 apr/atomic/solaris_sparc/apr_atomic_sparc.s Index: apr_atomic_sparc.s =================================================================== RCS file: /home/cvs/apr/atomic/solaris_sparc/apr_atomic_sparc.s,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- apr_atomic_sparc.s 17 Feb 2002 19:57:07 -0000 1.1 +++ apr_atomic_sparc.s 17 Feb 2002 20:17:53 -0000 1.2 @@ -1,3 +1,57 @@ +!* ==================================================================== +!* The Apache Software License, Version 1.1 +!* +!* Copyright (c) 2000-2001 The Apache Software Foundation. All rights +!* reserved. +!* +!* 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. +!* +!* 3. The end-user documentation included with the redistribution, +!* if any, must include the following acknowledgment: +!* "This product includes software developed by the +!* Apache Software Foundation (http://www.apache.org/)." +!* Alternately, this acknowledgment may appear in the software itself, +!* if and wherever such third-party acknowledgments normally appear. +!* +!* 4. The names "Apache" and "Apache Software Foundation" must +!* not be used to endorse or promote products derived from this +!* software without prior written permission. For written +!* permission, please contact apache@apache.org. +!* +!* 5. Products derived from this software may not be called "Apache", +!* nor may "Apache" appear in their name, without prior written +!* permission of the Apache Software Foundation. +!* +!* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 THE APACHE SOFTWARE FOUNDATION OR +!* ITS 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. +!* ==================================================================== +!* +!* This software consists of voluntary contributions made by many +!* individuals on behalf of the Apache Software Foundation. For more +!* information on the Apache Software Foundation, please see +!* . +!* + !* !* !* This code is based on the UltraSPARC atomics library by Mike Bennett 1.1 apr/atomic/solaris_sparc/Makefile.in Index: Makefile.in =================================================================== TARGETS = apr_atomic_sparc.lo ASFLAGS += -K pic ASFLAGS += -P -D_ASM -D__STDC__=0 ASFLAGS += -xarch=v8plus apr_atomic_sparc.lo: apr_atomic_sparc.s $(AS) -P -D_ASM -D__STDC__=0 -K PIC -q -o $@ $< # bring in rules.mk for standard functionality @INCLUDE_RULES@ DEFOSDIR=$(INCDIR)/arch/@DEFAULT_OSDIR@ INCDIR=../../include INCLUDES=-I$(INCDIR) -I$(DEFOSDIR) # DO NOT REMOVE 1.5 +55 -0 apr/atomic/unix/apr_atomic.c Index: apr_atomic.c =================================================================== RCS file: /home/cvs/apr/atomic/unix/apr_atomic.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- apr_atomic.c 17 Feb 2002 19:54:03 -0000 1.4 +++ apr_atomic.c 17 Feb 2002 20:17:54 -0000 1.5 @@ -1,3 +1,58 @@ +/* ==================================================================== + * The Apache Software License, Version 1.1 + * + * Copyright (c) 2000-2001 The Apache Software Foundation. All rights + * reserved. + * + * 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. + * + * 3. The end-user documentation included with the redistribution, + * if any, must include the following acknowledgment: + * "This product includes software developed by the + * Apache Software Foundation (http://www.apache.org/)." + * Alternately, this acknowledgment may appear in the software itself, + * if and wherever such third-party acknowledgments normally appear. + * + * 4. The names "Apache" and "Apache Software Foundation" must + * not be used to endorse or promote products derived from this + * software without prior written permission. For written + * permission, please contact apache@apache.org. + * + * 5. Products derived from this software may not be called "Apache", + * nor may "Apache" appear in their name, without prior written + * permission of the Apache Software Foundation. + * + * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED 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 THE APACHE SOFTWARE FOUNDATION OR + * ITS 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. + * ==================================================================== + * + * This software consists of voluntary contributions made by many + * individuals on behalf of the Apache Software Foundation. For more + * information on the Apache Software Foundation, please see + * . + */ + + #include "apr.h" #include "apr_lock.h" #include "apr_thread_mutex.h"