| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
apr_file_write_full() to pipe with timeout can return EAGAIN
PR: 20295 (not fixed just yet)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64527 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64221 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64096 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64075 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64013 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63918 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63836 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
1) verify that APR global mutexes block out threads within the same
process
2) discover whether or not APR proc mutexes block out threads within the
same process
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63375 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63042 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63005 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62902 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62802 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(but I suspect there is other extra stuff in here)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62772 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62590 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62498 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62365 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strategies we use in APR. It resembles a test from W. Richard Stevens
in his _UNIX Network Programming: Interprocess Communications_ Vol 2,
Second Ed., Appendix A. In these tests a number of threads are created,
and each thread iterates MAX_COUNTER times (currently 1 million).
In each iteration through this loop, the thread will lock a mutex,
increment a counter, and unlock. The total time taken (in usec) is then
printed. I have some more optimizations that will be tested for efficacy
using this test.
Submitted by: Aaron Bannert <aaron@clove.org>
Reviewed by: IanH@apache.org
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62300 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62164 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61979 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
functions
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61972 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61892 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
during testing I often see a couple of these :)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61891 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
rw locks on Unix platforms. This is based on earlier patches that I
posted to apr-dev, but did not receive feedback from others on.
Hence, I'm committing.
This will require a buildconf run for those of you who use Unix.
This has only really been tested on Solaris, but it should work
for those platforms that have POSIX rw locks. Other Unix
platforms will simply return APR_ENOTIMPL.
Add apr_lock_acquire_rw(). Notice that the Unix implementation
will only allow a readwrite lock to be acquired via this function.
Technically, apr_lock_acquire could obtain some sort of readwrite
lock in this case, but that might lead to confusion.
Added test/testlock.c which will attempt to test *both* APR_MUTEX
and APR_READWRITE. This was based off of the testthread.c, but has
been rewritten to use the new stdin/stdout/stderr code and just
make more sense overall. testthread.c should probably be rewritten
to test threading more specifically.
Added framework that will hopefully still let BeOS, OS/2, and Win32
compile. Any operation relating to an APR_READWRITE lock on these
platforms should just return APR_ENOTIMPL until the appropriate
people get around to it. Some structure has been added to make what
they have to implement fairly obvious. Again, I hope it compiles,
but I can't guarantee it.
Christian Gross has a Win32 readwrite lock patch floating around,
but I can't vouch for Win32 code. The other platforms probably
have ways to do it, but I'm not sure what they are.
(Sorry, I write long commit messages...)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61682 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
same interface as strtok_r().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61673 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61601 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61568 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61489 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61410 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61409 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61408 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61395 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
whether or not an address is within a subnet.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61361 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61128 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To simplify the task, I also shifted the Makefiles to include a rules.mk
(based on APRUTIL's with a few tweaks). Still needs some work to remove the
INCLUDES setup in all the Makefiles (these can be shared).
buildconf now does more work (and generates some output)
aclocal.m4 is based on a number of M4 files, rather than standalone
apr/test/ has been updated but is probably broken in a few ways.
objs/ is now gone. we link directly from the .lo files.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61037 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60931 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60860 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
*) Add test program for the new functions.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60811 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60616 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60549 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60261 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60032 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
htdigest didn't init the first parm to ap_open(), so ap_open()
segfaults thinking it was passed valid storage
build portability:
make most src/lib/apr/test/Makefile.in compatible with OS/390
make (no -o outfile after infile specified)
MD5 translation support:
when APR_HAS_XLATE, low-level routines allow translation handle
to be specified
when CHARSET_EBCDIC, password-specific routines always translate,
but client app must set handle before using
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60027 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
to get cvs to ignore some test executables and a directory
created by testproc
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59854 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59579 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68
|