summaryrefslogtreecommitdiff
path: root/locks
Commit message (Collapse)AuthorAgeFilesLines
* Fix various return code problems in APR on Win32. For most oftrawick2000-05-011-3/+3
| | | | | | | | | | | these, APR was returning APR_EEXIST instead of GetLastError()/ WSAGetLastError(). There are still a few remaining places where APR_EEXIST is returned on Win32. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60007 13f79535-47bb-0310-9956-ffa450edef68
* Use ap_pcalloc instead of ap_palloc where it makes sense.rbb2000-04-301-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60005 13f79535-47bb-0310-9956-ffa450edef68
* Make `mm' an INCDIR in shmem/unix, so that the INCDIR rewriter cansascha2000-04-303-3/+0
| | | | | | | | | automatically adapt it for VPATH use. Remove $(OBJS): Makefile dependency to avoid unnecessary rebuilds. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59998 13f79535-47bb-0310-9956-ffa450edef68
* Update comment for depend target. The template makefiles are now calledsascha2000-04-303-3/+3
| | | | | | | Makefile.in, and Configure became configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59996 13f79535-47bb-0310-9956-ffa450edef68
* back out APR_ prefix for TRUE,FALSEdougm2000-04-281-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
* Back out APR_TRUE|FALSE patch for Win32 system calls.stoddard2000-04-281-4/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59978 13f79535-47bb-0310-9956-ffa450edef68
* prefix TRUE,FALSE with APR_dougm2000-04-282-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59975 13f79535-47bb-0310-9956-ffa450edef68
* Move apr_config.h and apr_config.hw to apr_private.h and apr_private.hw.rbb2000-04-224-8/+8
| | | | | | | | This should make the fact that this is a private header file more obvious. This also updates all of the references to apr_config.h git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
* APR_ENOCONT doesn't make any sense without contexts. Replaced them all withrbb2000-04-192-2/+2
| | | | | | | APR_ENOPOOL git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59892 13f79535-47bb-0310-9956-ffa450edef68
* Win32: Return the real error on lock failurestoddard2000-04-191-4/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59890 13f79535-47bb-0310-9956-ffa450edef68
* Restore the space that someone just ate.fielding2000-04-151-52/+52
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59860 13f79535-47bb-0310-9956-ffa450edef68
* replace some of the consts lost during overlappingtrawick2000-04-144-6/+9
| | | | | | | changes git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59859 13f79535-47bb-0310-9956-ffa450edef68
* Change ap_context_t to ap_pool_t. This compiles, runs, and serves pagesrbb2000-04-1410-83/+78
| | | | | | | on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
* namespace cleanup in locks/unixdgaudet2000-04-144-51/+55
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59847 13f79535-47bb-0310-9956-ffa450edef68
* Change the fname parm of ap_create_lock() and ap_child_init_lock()trawick2000-04-147-15/+24
| | | | | | | | from char * to const char *. This eliminates a compile warning in mod_rewrite and feels better anyway. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59845 13f79535-47bb-0310-9956-ffa450edef68
* more documentation movementdgaudet2000-04-141-83/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59841 13f79535-47bb-0310-9956-ffa450edef68
* First stage of migrating OS/2 code to new error code mappings, define & usebjh2000-04-081-5/+5
| | | | | | | macro for returning OS/2 error codes. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59815 13f79535-47bb-0310-9956-ffa450edef68
* Fix a bug pthreads cross process locks. This was missed in the big patchrbb2000-04-051-1/+1
| | | | | | | | | | to do this last week sometime. PR: 26 Submitted by: Mike Abbott <mja@sgi.com> Reviewed by: Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59800 13f79535-47bb-0310-9956-ffa450edef68
* get rid of unused var in create_inter_lock()trawick2000-04-041-1/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59778 13f79535-47bb-0310-9956-ffa450edef68
* Finish the APR naming cleanup. This removes the struct's fromrbb2000-04-038-72/+72
| | | | | | | | apr_variable declarations. This works on Unix, but a test compile on other platforms would be a good idea. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59773 13f79535-47bb-0310-9956-ffa450edef68
* fix the rest of the struct foo_t to struct ap_foo_t. Next is removing therbb2000-04-0312-85/+85
| | | | | | | struct's where possible. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59769 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1fielding2000-03-3112-380/+373
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Fix pthread Cross Process locks.rbb2000-03-312-7/+14
| | | | | | | | | PR: 26 Submitted by: Mike Abbott <mja@sgi.com> Reviewed by: Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59753 13f79535-47bb-0310-9956-ffa450edef68
* When the lock cleanup routine is called the semphores weren'tdreid2000-03-232-0/+2
| | | | | | | being removed on BeOS. This corrects that oversight. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59736 13f79535-47bb-0310-9956-ffa450edef68
* Fix a stupid mistake in my last commit.rbb2000-03-211-1/+1
| | | | | | | Submitted by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59727 13f79535-47bb-0310-9956-ffa450edef68
* Fix the cleanup of SYSV semaphores. This way we don't leave sems lyingrbb2000-03-211-1/+1
| | | | | | | | | around forever. Submitted by: Jeff Trawick Reviewed by: Ryan Bloom git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59726 13f79535-47bb-0310-9956-ffa450edef68
* Fix warnings, update dependencies.ben2000-03-181-5/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59724 13f79535-47bb-0310-9956-ffa450edef68
* Simplify filename copying in child_init_lock. :)manoj2000-03-161-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59722 13f79535-47bb-0310-9956-ffa450edef68
* Fix the problems with my last commit.rbb2000-03-161-1/+2
| | | | | | | Submitted by: Manoj Kasichainula, Greg Stein git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59721 13f79535-47bb-0310-9956-ffa450edef68
* Fix a bug in ap_init_child_lockrbb2000-03-161-0/+1
| | | | | | | Submitted by: Paul Reder git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59720 13f79535-47bb-0310-9956-ffa450edef68
* Update some dependencies.bjh2000-03-161-4/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59717 13f79535-47bb-0310-9956-ffa450edef68
* Add some missing functions into BeOS locksdreid2000-03-152-0/+38
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59708 13f79535-47bb-0310-9956-ffa450edef68
* Fix more docs and change some parameter order on ap_getopt. This makesrbb2000-03-141-19/+22
| | | | | | | ap_getopt look more like the rest of the apor functions. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59703 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of the locking code for BeOS.dreid2000-03-142-24/+39
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59698 13f79535-47bb-0310-9956-ffa450edef68
* changed erroneous references to type to scope; added scope to lock_tronald2000-03-106-28/+37
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59690 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:rbb2000-03-1012-108/+108
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Rework of mutex locks. Makes it safe to use the same object in multiplebjh2000-03-032-19/+59
| | | | | | | | | | | threads while protecting against a moderately obscure problem where multiple handles to the same named mutex in the SAME THREAD behave as if they were the same handle. IE calling lock on one handle & unlock on another would result in the mutex not being owned by the thread. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59680 13f79535-47bb-0310-9956-ffa450edef68
* Don't open a lock file unless we actually need it.manoj2000-03-021-7/+12
| | | | | | | Submitted by: Jeff Trawick <trawick@ibm.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59677 13f79535-47bb-0310-9956-ffa450edef68
* Take a couple of values that were static for all locks out of the lockrbb2000-01-253-42/+42
| | | | | | | structure. These values are now created once and used for all locks. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59619 13f79535-47bb-0310-9956-ffa450edef68
* Namespace protect the HAVE_SEMUN variable that was added. This has notrbb2000-01-241-4/+1
| | | | | | | | been tested fully, because I don't have access to a platform that uses semaphores, but the logic is sound. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59617 13f79535-47bb-0310-9956-ffa450edef68
* Make interprocess mutexes actually choose, fix semaphore mutexes.ben2000-01-232-6/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59613 13f79535-47bb-0310-9956-ffa450edef68
* Move Windows project files to the attic.stoddard2000-01-122-116/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59596 13f79535-47bb-0310-9956-ffa450edef68
* Remove trailing slash, confuses some makessascha1999-12-311-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59563 13f79535-47bb-0310-9956-ffa450edef68
* Clean up APR's configure script a bit. This commit also allows Apache torbb1999-12-221-1/+1
| | | | | | | | | | specify that APR should be built without threads for the prefork MPM. This is broken if we then try to configure Apache again using a threaded MPM, but this is easily fixable, and I will be doing that soon. Lastly, I removed all thread calls from APR when it is told to build without threads. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59552 13f79535-47bb-0310-9956-ffa450edef68
* Fix the build process for APR. There is no reason to build each libraryrbb1999-12-201-8/+7
| | | | | | | | | individually if we are just going to combine them into one library later. I am just commenting out those lines we don't need anymore. They will probably go away very soon, but I want to think about it a bit more. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59544 13f79535-47bb-0310-9956-ffa450edef68
* Missed this one when I did the others. As there isn't an inc directorydreid1999-12-201-4/+3
| | | | | | | I guess the other platforms should do this as well? git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59541 13f79535-47bb-0310-9956-ffa450edef68
* Update the BeOS files to use a single header.dreid1999-12-154-10/+2
| | | | | | | | BeOS can't use the same non-blocking code as Unix for pipes, so until I can add the appropriate code I'm commenting it out for BeOS. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59527 13f79535-47bb-0310-9956-ffa450edef68
* Finish the cleanup I did earlier. It worked before on AIX, but that wasrbb1999-12-062-4/+4
| | | | | | | all luck. This is cleaner anyway, and it should work everywhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59507 13f79535-47bb-0310-9956-ffa450edef68
* Cleaning up the config stuff for APR even more. We had some smallrbb1999-12-061-4/+4
| | | | | | | | | macros that weren't getting defined since the leakage problem was cleared up. I think I fixed this. And all APR macros will be using #if instead of #ifdef from now on. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59506 13f79535-47bb-0310-9956-ffa450edef68
* Fix the logic in blocking vs non-blocking pipes to children. It onlyrbb1999-12-035-35/+40
| | | | | | | | makes sense to change the blocking attributes of a pipe if we actually are successful in creating the pipe. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59501 13f79535-47bb-0310-9956-ffa450edef68