| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Submitted by: Ian Holsman
Reviewed by: Bill Stoddard
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61878 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
apr_os_thread_equal().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61774 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
comparison of structures
add apr_os_thread_equal() and implement it on the two platforms with
apr_os_thread_current()
use apr_os_thread_equal() in the Unix lock code so we don't compare
structures
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61768 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
been changed in my tree today :)
- remove the sms code I committed yesterday
- add an apr_pool_t to the sms structure
- add locking code to the tracking sms
This threw up an issue with locking, so next
- change the locking code to add an owner and ref counting
so we can lock multiple times from the same thread. this was
needed by the apr_sms_tracking_reset code where we lock
and then call free which locks again...
I haven't added the locking changes for os2 or win32 after
the problems I created with my last commit :)
Changes to testlock on the way.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61716 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
assumptions to correct, though.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61650 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
difference, is that instead of creating a separate thread to listen for
signals, the thread that calls this function does the listening. Many
platforms have issues when the main thread isn't the thread that is
listening for signals. Even more platforms complain when the main thread
dies, but the process doesn't. This gets the main thread back to being
the signal handling thread.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61518 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61517 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
allocated (just like the other platforms) to avoid a null reference.
Submitted by: Christian Gross <mailing@devspace.com>
Reviewed by: Roy Fielding
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61499 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
reversed.
This may have broken the Unix threaded mpm's when they started using the
bogus "set" function. A likely symptom would be failure to stop a threaded
process cleanly.
Note: it appears these functions are essentially no-ops except in Unix.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61495 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61471 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61466 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61455 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61451 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
exports.c can safely be linked in. There's also a few stub functions returning
APR_ENOTIMPL.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61367 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
with a function pointer.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61329 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
on AIX and Tru64.
On certain platforms, sigwait() returns EINVAL if any of various
unblockable signals are included in the mask. This was first observed
on AIX and Tru64.
On AIX (4.3.3, at least), sigwait() won't wake up if the high-order bit
of the second word of flags is turned on. sigdelset() returns an error
when trying to turn this off, so we'll turn it off manually.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61326 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Move sendfile-disable logic to a point after we set the sendfile
shell variable. It was broken before, from Sunday when I moved the
thread configuration to a point earlier in the APR configure
procedure.
2) (!!!!!!!!!DEFINITELY FIXME!!!!!!!)
Work around a problem with APR_FLAG_HEADERS on Tru64 by adding
additional, separate invocations of APR_FLAG_HEADERS() for header
files which were not handled properly.
3) (!!!!!!WOULD BE NICE TO AUTODETECT!!!!!!!)
Work around a problem where the presence of sigwait() isn't detected.
sigwait() is renamed in a system header file, but the normal
autoconf way to detect functions has no provision for including
header files.
Also, some empty lines in the invocation of APR_FLAG_HEADERS were removed.
They had to impact on processing, but they didn't look nice.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61323 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
also cleanup s/#ifdef HAVE_FOO_H/#if APR_HAVE_FOO_H/ whrere appropriate.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61303 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
any platform like this will be able to mimic the signal thread, but for
now this fixes any machine without sigwait.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61296 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(haven't we been here before?)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61294 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61282 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
a couple of #ifdefs, and standardize some code. This macro comes directly
from the Apache code.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61277 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
We had unresolved references for pthread_sigmask() and sigwait().
These thread support functions aren't appropriate anyway if !APR_HAS_THREADS.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61270 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
apr_sigwait()
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61267 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
thread to handle all signal processing.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61266 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This file still doesn't compile with Cygwin's pthread.h, but that seems to be
Cygwin's fault.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61261 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61250 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
optimized to only allocate enough storage for the string if shorter than
n which caused the args to get scrambled.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61228 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61224 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
identical, but the latter is more portable.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61216 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61210 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
*) some other minor include tweaks
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61208 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
can portably get descriptions for them.
*) move signal stuff from apr.h to (new) apr_signal.h
*) os2/signals.c was collapsed into unix/signals.c
*) APR initialization will init the signal names (if needed)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61207 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61195 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
but apr_errno.h is public. It also called in <os.h> with possibly
inappropriate headers, and if os2.h follows any other header's usual
conventions, calling it the second time for more declarations can be
dicey. Relocated <os2.h> into apr.h.in (accessable to all, since it's
later leveraged by most), which simplifies a bunch of code, and relocate
all of the os2errno values into apr_errno.h for APR_STATUS_IS_FOO tests.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61156 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_DECLARES() to the sources, based on compilation emits (there
are many that should be changed eventually, but the compiler will
emit errors if those sources are added for win32).
This change also splits libapr from apr, so the two projects are
compiled seperately. Both .dsp files must be kept up-to-date with
source file revisions.
Finally, libapr.def is no longer needed - so it is gone.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61072 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
and a few items of general tidy up.
Submitted by: Carlos Hasan <chasan@acm.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61042 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
|
|
|
|
|
|
|
|
| |
Submitted by: Carlos Hasan <chasan@acm.org>
Reviewed by: David Reid <dreid@apache.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60998 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-21 Branko Cibej <brane@xbc.nu>
* aprlib.def: Export apr_setprocattr_childin,
apr_setprocattr_childout, and apr_setprocattr_childerr.
* threadproc/win32/proc.c: Folded pipe creation out into helper
function. Moved inheritable-ness mucking from apr_create_process
into apr_setprocattr_* functions.
Added apr_setprocattr_child{in,out,err}.
Note that APR_SHELLCMD won't work (and has never worked) on Win9x.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60973 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60955 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
directory. This removes all temptation to include apr_private.h from
outside of APR, because it just isn't available. This also highlighted
a bunch of holes in our header file setup. Basically, just directories
that were never migrated to the curret setup.
Submitted by: Will Rowe and Ryan Bloom
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60919 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60846 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60797 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
going to change them. It is also quite possible that args are constant
strings (thus, we *definitely* better not change them).
"env" got the same treatment.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60795 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
keep exports.c happy :) With these changes we're now back building again.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60766 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60762 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
APR include file.
Implement all exports.c symbols even if the package or function isn't
available in the current configuration.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60748 13f79535-47bb-0310-9956-ffa450edef68
|