summaryrefslogtreecommitdiff
path: root/atomic
Commit message (Collapse)AuthorAgeFilesLines
* 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
* preperation for solaris sparc additionianh2002-02-171-6/+2
| | | | | | | | | just need to figure out a) where to put it b) how to build it in a apr-nice way git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62997 13f79535-47bb-0310-9956-ffa450edef68
* remove CAS option as linux doesn't support it out of the boxianh2002-02-161-6/+13
| | | | | | | | | | | | | | | | (needs to be there, but getting native versions working on the add/dec is more important) get a 'linux-only' version running newtype apr_atomic_t test program can switch between mutex/atomic (so you can see the speed difference easily) PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62992 13f79535-47bb-0310-9956-ffa450edef68
* ignore generated filestrawick2002-02-141-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62984 13f79535-47bb-0310-9956-ffa450edef68
* get APR to build with --disable-threads... there is notrawick2002-02-131-0/+5
| | | | | | | | implementation of apr atomic stuff for Unix unless APR_HAS_THREADS git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62971 13f79535-47bb-0310-9956-ffa450edef68
* support files for unixianh2002-02-121-0/+11
| | | | | | | | | | | I don't have MSVC6 so I can't modify dsp's ;( PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62964 13f79535-47bb-0310-9956-ffa450edef68
* atomic operation.ianh2002-02-121-0/+95
still expermental PR: Obtained from: Submitted by: Reviewed by: git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62962 13f79535-47bb-0310-9956-ffa450edef68