summaryrefslogtreecommitdiff
path: root/atomic
Commit message (Collapse)AuthorAgeFilesLines
* Fix apr_atomic_cas on platforms with 64 bit longs.rooneg2006-09-251-8/+8
| | | | | | | | | | | | | | | This is being committed to 0.9.x directly because it is no longer applicable to the 1.x branches. Submitted by: Philip Martin <philip codematters.co.uk> * atomic/unix/apr_atomic.c (apr_atomic_cas): Truncate 64 bit argument values. * CHANGES: Note change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@449724 13f79535-47bb-0310-9956-ffa450edef68
* Update license header.jorton2006-09-203-18/+18
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@448246 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-043-3/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@151409 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.APR_0_9_BRANCHjorton2004-11-202-8/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@105962 13f79535-47bb-0310-9956-ffa450edef68
* Relicense APR under Apache License, Version 2.0.jerenkrantz2004-02-133-147/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@64903 13f79535-47bb-0310-9956-ffa450edef68
* As per HEAD: remove leftovers from Solaris/SPARC atomics.jorton2004-01-273-33/+0
| | | | | | | | | * LICENSE: Remove reference to UltraSPARC atomics library. * atomic/solaris_sparc: Removed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@64884 13f79535-47bb-0310-9956-ffa450edef68
* fix type mismatch with picky compiler settings on z/OStrawick2003-11-051-4/+4
| | | | | | | (volatile vs. non-volatile) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@64721 13f79535-47bb-0310-9956-ffa450edef68
* removed the solaris specific atomic code.ianh2003-05-031-132/+0
| | | | | | | | | it was under the MPL 1.0 licence, which is incompatible with outs. tried contacting the author, with no response ;( git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64500 13f79535-47bb-0310-9956-ffa450edef68
* This code was licensed under version 1.0 of the Mozilla Public Licensejorton2003-04-301-1/+14
| | | | | | | (which is a copyleft and a lot more restrictive than the ASL). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64496 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright notices to 2003.thommay2003-01-014-4/+4
| | | | | | | No functional changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
* remove an extraneous endifbrianp2002-10-191-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63956 13f79535-47bb-0310-9956-ffa450edef68
* Add pointer version of apr_atomic_casbrianp2002-10-193-3/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63953 13f79535-47bb-0310-9956-ffa450edef68
* fix an old typo and a bad cut-and-pastebrianp2002-10-191-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63952 13f79535-47bb-0310-9956-ffa450edef68
* Fix !APR_HAS_THREADS code path for apr_atomic_cas by always definingjerenkrantz2002-09-011-1/+1
| | | | | | | prev. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63847 13f79535-47bb-0310-9956-ffa450edef68
* Minor style nit.jerenkrantz2002-09-011-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63846 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the SPARC v8plus version of apr_atomic_dec so thatbrianp2002-09-011-2/+4
| | | | | | | | it returns the new value instead of the old value (to match the way the other implementations of this function work) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63844 13f79535-47bb-0310-9956-ffa450edef68
* Cleaner mechanism for using platform-specific atomics on platformsbrianp2002-08-311-20/+40
| | | | | | | that override some of the default atomic functions but not others git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63842 13f79535-47bb-0310-9956-ffa450edef68
* fix apr_atomic_init() on systems without threadsbrianp2002-07-051-0/+8
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63579 13f79535-47bb-0310-9956-ffa450edef68
* Use the native cmpxchg() function for NetWarebnicholes2002-06-111-45/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63492 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated filestrawick2002-04-301-0/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63320 13f79535-47bb-0310-9956-ffa450edef68
* Hopefully close the build problems with atomic on Solaris systemsjim2002-04-231-1/+1
| | | | | | | | | | | | | | | | | with GNUas. It looks like 'gcc -E' is ignoring the apr_atomic_sparc.s file (due to the suffix... a apr_atomic_sparc.c file would be read in fine) causing apr_atomic_sparc.S to be empty for GNUas users. Soooooo we force it to read from stdin. For non-GNUas users, we work as normal, though a but weirdly (instead of cat ... > it's cat - < ... > ) PR: Obtained from: Submitted by: Reviewed by: Aaron Bannert git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63297 13f79535-47bb-0310-9956-ffa450edef68
* Removed some extraneous code from the apr_atomic_cas functionbrianp2002-04-221-6/+0
| | | | | | | Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63289 13f79535-47bb-0310-9956-ffa450edef68
* Style police are on the prowl.jerenkrantz2002-04-221-15/+13
| | | | | | | (No code changes) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63288 13f79535-47bb-0310-9956-ffa450edef68
* Add .deps to cvsignore since APR may now generate .deps files.jerenkrantz2002-04-222-0/+2
| | | | | | | (somehow CVS ignored updating these on the last commit.) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63287 13f79535-47bb-0310-9956-ffa450edef68
* Allow VPATH builds to properly generate build dependencies. This requiresjerenkrantz2002-04-223-1/+6
| | | | | | | | | | | | srcdir to always be available in a Makefile, so we need to stop adding this only when we use VPATH. Change the dependency generation to use .deps instead of appending to the Makefile. This makes us consistent with the dependency style of httpd-2.0. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63286 13f79535-47bb-0310-9956-ffa450edef68
* Add back >>2 that was unintentionally removed in previous commit.jerenkrantz2002-04-191-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63281 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that the ATOMIC_HASH can not be negative.jerenkrantz2002-04-181-2/+1
| | | | | | | | Submitted by: Joe Orton <jorton@redhat.com> Reviewed by: Justin Erenkrantz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63277 13f79535-47bb-0310-9956-ffa450edef68
* ** DEPRECATE old lock API: apr_lock.h **aaron2002-04-091-2/+1
| | | | | | | | | | | Resolve some circular includes (apr_thread_mutex.h needs apr_pools.h needs apr_allocator.h needs apr_thread_mutex.h ...). Remove all apr_lock.h related files (incl. arch-specific headers and implementations). git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63234 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary include of apr_lock.h (untested patch).aaron2002-04-091-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63233 13f79535-47bb-0310-9956-ffa450edef68
* Hmmm... this forces srcdir to exist herejim2002-03-291-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63206 13f79535-47bb-0310-9956-ffa450edef68
* Typo - thanks RMjim2002-03-291-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63205 13f79535-47bb-0310-9956-ffa450edef68
* srcdir is bogus at present... this, at least, allows it tojim2002-03-291-3/+3
| | | | | | | | | | | compile and build under Solaris8 PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63204 13f79535-47bb-0310-9956-ffa450edef68
* Get VPATH builds to work with solaris atomics again.aaron2002-03-281-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63202 13f79535-47bb-0310-9956-ffa450edef68
* Brain dead mistake. I meant to _dec instead of _incbnicholes2002-03-281-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63200 13f79535-47bb-0310-9956-ffa450edef68
* Added the NetWare version of atomic.c to the buildbnicholes2002-03-271-0/+110
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63197 13f79535-47bb-0310-9956-ffa450edef68
* adding Makefile.ingregames2002-03-221-0/+12
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63186 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic_add: sync up parameter types with header filegregames2002-03-221-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63184 13f79535-47bb-0310-9956-ffa450edef68
* add apr atomic support for OS/390gregames2002-03-221-0/+82
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63182 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic_dec: change the fallback version to return the new value ofgregames2002-03-191-3/+3
| | | | | | | the memory variable. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63161 13f79535-47bb-0310-9956-ffa450edef68
* apr_atomic_dec now returns zero if the value is zero.ianh2002-03-161-3/+3
| | | | | | | | | | PR: Obtained from: Submitted by: Greg Ames Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63139 13f79535-47bb-0310-9956-ffa450edef68
* Update our copyright for this year.fielding2002-03-132-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
* deal with the case where some processors in a product line are ancient and don'tianh2002-02-213-4/+10
| | | | | | | | | | | | have all the support we would like for atomic operations. this is intended for the sparc v7's out there which don't do CAS PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63046 13f79535-47bb-0310-9956-ffa450edef68
* Allow assembly of atomic/solaris_sparc/apr_atomic_sparc.s with the gnu as.jfclere2002-02-211-4/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63041 13f79535-47bb-0310-9956-ffa450edef68
* get apr_atomic.c to compile (multiple failures seen with gcctrawick2002-02-201-9/+9
| | | | | | | and AIX's xlc) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63031 13f79535-47bb-0310-9956-ffa450edef68
* minor fix for solarisianh2002-02-201-0/+3
| | | | | | | | | | | | | get freebsd fixes in there as well .. sorry.. but need to build this on multiple platforms PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63030 13f79535-47bb-0310-9956-ffa450edef68
* linux compatibility checksianh2002-02-201-12/+15
| | | | | | | | | | | | use linux macro cmpxchg if available. now.. to retest solaris ;) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63029 13f79535-47bb-0310-9956-ffa450edef68
* enable sun-sparc specific codeianh2002-02-191-7/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63028 13f79535-47bb-0310-9956-ffa450edef68
* re-introduce the CAS apr call.ianh2002-02-191-17/+17
| | | | | | | | | | | | doxygenize the header testing is now harder PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63027 13f79535-47bb-0310-9956-ffa450edef68
* add copyrightianh2002-02-173-0/+128
| | | | | | | and missing sparc makefile git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62999 13f79535-47bb-0310-9956-ffa450edef68
* The assembly for atomic_add/dec for sun solarisianh2002-02-171-0/+46
| | | | | | | still need to figure out how to linkcleanly so it's not 'built' by default git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62998 13f79535-47bb-0310-9956-ffa450edef68