summaryrefslogtreecommitdiff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* Turn off the DSO build for netware and revert the previous changes that ↵bnicholes2008-11-251-5/+0
| | | | | | tried to make it work. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@720558 13f79535-47bb-0310-9956-ffa450edef68
* Fix apu_dso_load() for netware. Make sure that the search for the apr ↵bnicholes2008-11-251-1/+6
| | | | | | global memory pool doesn't search forever since netware doesn't have a single global memory pool per process. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@720364 13f79535-47bb-0310-9956-ffa450edef68
* This was a complete mess; the correct answer is that the entire filewrowe2008-11-211-15/+9
| | | | | | | | | | is meaningless without APU_DSO_BUILD, all functions are internal. The correct "fix" to missing APR_HAS_DSO is to toggle off APU_DSO_BUILD within ./configure. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@719451 13f79535-47bb-0310-9956-ffa450edef68
* * misc/apr_thread_pool.cpquerna2008-10-301-12/+15
| | | | | | | (apr_thread_pool_create): Only set the output variable if we were successful. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@709135 13f79535-47bb-0310-9956-ffa450edef68
* Expose the apr_dso_handle_t when calling apu_dso_load, so that theminfrin2008-09-071-1/+7
| | | | | | | | | crypto code can call apr_dso_error and find out why the dso load failed. The existing LDAP and DBD code ignores this, as their APIs do not yet allow for errors to be returned. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@692924 13f79535-47bb-0310-9956-ffa450edef68
* Add API that allows to setup the cleanup order after the reslist was createdmturk2008-08-071-0/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683526 13f79535-47bb-0310-9956-ffa450edef68
* Use default pool cleanup order for reslist create.mturk2008-08-071-8/+2
| | | | | | | Revert r677505 and r677523. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683524 13f79535-47bb-0310-9956-ffa450edef68
* Export internal reslist_maint as public apr_reslist_maintainmturk2008-08-071-3/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683523 13f79535-47bb-0310-9956-ffa450edef68
* Oops. Fix copy/paste typomturk2008-08-071-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683520 13f79535-47bb-0310-9956-ffa450edef68
* Destroy already created resources if create failsmturk2008-08-071-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683517 13f79535-47bb-0310-9956-ffa450edef68
* Revert r683191. Any blocking code should be done before invalidate to deal ↵mturk2008-08-071-2/+1
| | | | | | with serialization. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683515 13f79535-47bb-0310-9956-ffa450edef68
* Do not serialize destructor calls.mturk2008-08-061-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@683191 13f79535-47bb-0310-9956-ffa450edef68
* Implement resource list when threads are unavailable.bojan2008-07-281-4/+57
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@680514 13f79535-47bb-0310-9956-ffa450edef68
* Better enforce reslist limits.bojan2008-07-281-1/+2
| | | | | | Values cannot be negative and hmax must not be zero. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@680511 13f79535-47bb-0310-9956-ffa450edef68
* Round out 675817 by avoiding a skip of a 'special' last elementwrowe2008-07-231-0/+4
| | | | | | | APU_DSO_LIBDIR where none existed. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@678982 13f79535-47bb-0310-9956-ffa450edef68
* * apr_pool_pre_cleanup_register has no child_cleanup parameterrpluem2008-07-171-2/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@677523 13f79535-47bb-0310-9956-ffa450edef68
* Use apr_pool_pre_cleanup_register for reslist cleanupmturk2008-07-171-2/+9
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@677505 13f79535-47bb-0310-9956-ffa450edef68
* Unlock list mutex before destroying it.bojan2008-07-151-0/+1
| | | | | | | Manual page for pthread_mutex_destroy() states: Attempting to destroy a locked mutex results in undefined behavior. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@676800 13f79535-47bb-0310-9956-ffa450edef68
* When searching for DSOs, look in apr-util-APU_MAJOR_VERSION subdirectorybojan2008-07-111-0/+13
| | | | | | | of each component of APR_DSOPATH. PR 45327 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@675816 13f79535-47bb-0310-9956-ffa450edef68
* Fix build failure when --disable-util-dso is used.bojan2008-07-071-0/+2
| | | | | | PR45320. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@674637 13f79535-47bb-0310-9956-ffa450edef68
* Remaining changes to plug win32 into the dso schema.wrowe2008-05-291-2/+6
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@661528 13f79535-47bb-0310-9956-ffa450edef68
* apr_reslist: destroy all resources in a cleanup (don't stop immediatelyniq2008-05-281-5/+7
| | | | | | | | | on error) PR 45086 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@661063 13f79535-47bb-0310-9956-ffa450edef68
* No need to look for global pool if we're alrealy initialised.bojan2008-05-271-3/+4
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@660367 13f79535-47bb-0310-9956-ffa450edef68
* Correction to r659802: apr_reslist fix to enforce ttl on idle resourcesniq2008-05-251-0/+2
| | | | | | | PR 42841 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@659961 13f79535-47bb-0310-9956-ffa450edef68
* Enforce ttl (where used) on individual resources in an apr_reslistniq2008-05-241-4/+15
| | | | | | | PR 42841 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@659802 13f79535-47bb-0310-9956-ffa450edef68
* Fix ifdef tests where the flags are booleans.wrowe2008-05-231-3/+3
| | | | | | | Noted by: bnicholes git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@659591 13f79535-47bb-0310-9956-ffa450edef68
* Clean all lingering maintainer mode emits, and drop apu_dso_init fromwrowe2008-05-231-6/+6
| | | | | | | the external entry points. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@659343 13f79535-47bb-0310-9956-ffa450edef68
* Introduce an internal apu_dso API for loading modular components into thewrowe2008-05-221-0/+175
| | | | | | | | | | | | | core library, even across multiple consumers. Rearranges apr_dbd into this schema to ensure consumers do not corrupt one another, and to respect the platform specific shared lib search path - especially for pre-installation `make check`. Abstracts ldap into the apu_dso schema, with a note in CHANGES for changes required by apps which consume the ldap library directly. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@659293 13f79535-47bb-0310-9956-ffa450edef68
* * The idle thread timeout statistic was being incremented each time anwrowe2008-05-071-25/+144
| | | | | | | | | | | | | | | idle thread (whether a timeout was set or not) was reaped. Updated the check to only increment when a timeout was set. * The test to determine if a thread should go into probation was >= when it should have been just > since the idle_cnt has been incremented by the time this test is made. PR: 43876 Submitted by: Joe Mudd <Joe.Mudd sas.com> Reviewed by: Henry Jen git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@654234 13f79535-47bb-0310-9956-ffa450edef68
* * Wakeup waiting threads after resource was invalidated.rpluem2007-11-171-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@595932 13f79535-47bb-0310-9956-ffa450edef68
* Simple size_t > int correctionwrowe2007-10-231-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@587437 13f79535-47bb-0310-9956-ffa450edef68
* * Ensure the shrinking of the pool back to SMAX via the TTL by reorganising rpluem2007-08-061-5/+6
| | | | | | | | | | | the resource list from a queue to a stack. PR: 40348 Submitted by: Christian BOITEL <christian_boitel yahoo.fr> Reviewed by: rpluem git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@563103 13f79535-47bb-0310-9956-ffa450edef68
* * Avoid creating hmax + 1 resources at most instead of hmax resources at mostrpluem2007-08-061-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@563081 13f79535-47bb-0310-9956-ffa450edef68
* Public APR-UTIL functions are declared with APU_DECLARE(), not APR_DECLARE().davi2007-07-221-30/+30
| | | | | | | | | While at it, fix coding style and extern declarations for C++. PR: 42889 git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@558527 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug #42294bojan2007-05-111-1/+3
| | | | | | | Correct variable declaration, before code Patch by Davi Arnaut git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@537082 13f79535-47bb-0310-9956-ffa450edef68
* * misc/apr_thread_pool.c (apr_thread_pool_task_owner_get): Fix gccjorton2007-04-231-2/+4
| | | | | | | strict-aliasing warning. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@531544 13f79535-47bb-0310-9956-ffa450edef68
* Fix the assert, which should only for preventing task from owner itselfwrowe2007-04-171-4/+25
| | | | | | | | | | | | | | calling cancel. Adds a apr_thread_pool_task_owner_get API to retrieve the owner of the task. This is convenient and can, in many cases, eliminate the need to create a structure to use as parameters. PR: 41359 Submitted by: Henry Jen <henryjen ztune.net> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@529791 13f79535-47bb-0310-9956-ffa450edef68
* Update license headers.jerenkrantz2007-01-155-30/+30
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@496440 13f79535-47bb-0310-9956-ffa450edef68
* Add apr_thread_pool implementation.wrowe2007-01-041-0/+817
| | | | | | | | Submitted by: Henry Jen <henryjen ztune.net> <Henry.Jen Sun.COM> Message-id: <4536B0BB.5010702@ztune.net git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@492362 13f79535-47bb-0310-9956-ffa450edef68
* * misc/apr_reslist.c (apr_reslist_acquired_count): Fix to match namejorton2006-09-181-1/+1
| | | | | | | used in prototype (spotted by Shubham Singal). git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@447379 13f79535-47bb-0310-9956-ffa450edef68
* Add an apr_reslist_acquired_count API for determining how many outstandingrooneg2006-09-131-0/+11
| | | | | | | | | | | | | | | | | resources there are in a reslist. Submitted by: Ryan Phillips <ryan trolocsis.com> * include/apr_reslist.h (apr_reslist_acquired_count): Declare. * misc/apr_reslist.c (apr_reslist_acquired_count): Implement. * CHANGES: Note change. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@443031 13f79535-47bb-0310-9956-ffa450edef68
* Correct a comment regarding what is at the start of a datestring.colm2006-05-121-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@405896 13f79535-47bb-0310-9956-ffa450edef68
* Fix the parsing of several types of RFC style dates and add a new one.rooneg2005-08-191-20/+41
| | | | | | | | | | | | | | | | | | | | | | | | | * misc/apr_date.c (apr_date_parse_rfc): correct the gmt offset for two formats, tweak some comments, add a new date format, simplify gmtstr parsing. * test/Makefile.in (testall_OBJECTS): add testdaterfc.lo. * test/testdaterfc.c: new file. * test/abts_tests.h (alltests): add testdaterfc. * test/testutil.h (testdaterfc): new function prototype. * CHANGES: document change. Submitted By: Maxime Petazzoni <maxime.petazzoni bulix.org> Tweaked By: Garrett Rooney git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@233425 13f79535-47bb-0310-9956-ffa450edef68
* * misc/apr_rmm.c (apr_rmm_realloc): Fix offset calculation.jorton2005-08-051-1/+1
| | | | | | | | | * test/testrmm.c (test_rmm): Add test case. Submitted by: Keith Kelleman <keith.kelleman oracle.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@230433 13f79535-47bb-0310-9956-ffa450edef68
* * misc/apr_rmm.c: Add a comment describing the layout of an RMMjorton2005-08-051-0/+29
| | | | | | | region. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@230425 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.jerenkrantz2005-02-045-5/+10
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@151413 13f79535-47bb-0310-9956-ffa450edef68
* Remove .cvsignore files.jorton2004-11-181-4/+0
| | | | | | | Tipped-of-by: Uwe Zeisberger git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@76270 13f79535-47bb-0310-9956-ffa450edef68
* Avoid testing undefined symbols. No functional change.jorton2004-11-171-0/+3
| | | | | | | | | | * apr-util/misc/apr_queue.c Include the header that defines the symbols we are testing. Submitted by: Julian Foad <julianfoad btopenworld.com> git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@76122 13f79535-47bb-0310-9956-ffa450edef68
* apr_queue_trypop: fix inaccurate commentsgregames2004-09-291-4/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59146 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory leak when maintaining resources. When extra resources aremturk2004-09-261-8/+9
| | | | | | | | | destroyed they are returned to the free list, but they were never reused and the resource container has been created again. The patch makes sure that we create resource containers up to the hmax. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@59142 13f79535-47bb-0310-9956-ffa450edef68