| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125520 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125406 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125405 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
uid/gid for newly created processes using apr_proc_create.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125349 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Use autoheader AH_BOTTOM macro to hard-code tail end
of apr_private.h.
* threadproc/unix/signals.c (apr_sigwait): Define here rather than in
apr_private.h since it's only used here.
* build/apr_common.m4 (APR_DECIDE): AC_DEFUN the macro, use
AH_TEMPLATE to define the template for apr_private.h.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@125062 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@124075 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CVS->SVN conversion.
This was already done for the os2 version of the file in revision 65576,
so we might as well do it for win32 and beos.
* threadproc/win32/threadcancel.c: deleted.
* threadproc/beos/threadcancel.c: deleted.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@109911 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
LibC SDK
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@106767 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Tipped-of-by: Uwe Zeisberger
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76269 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
* apr/threadproc/unix/signals.c
(apr_signal_block, apr_signal_unblock): Test the correct symbol, so that
these functions will actually be implemented on appropriate platforms.
Submitted by: Julian Foad <julianfoad btopenworld.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@76119 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Looks like CVS is dodgy as its log shows that it was modified after deletion
but a checkout doesn't get it and it's in the Attic.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65576 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_DETACH expect that the thread_join will be called, so don't close the
handle in advance, if the thread has already finished.
PR:
Obtained from:
Submitted by: mturk
Reviewed by: wrowe
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65335 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
apr_procattr_error_check_set() on Windows
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65307 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
access to the working directory of the child process.
PR: 30137
Submitted by: Jeremy Chadwick <apache jdc.parodius.com>
Reviewed by: jorton, trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65285 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65277 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
overloading on fcts parameter.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65276 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65235 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65223 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
which is started by the shell and which inherits the parent's
environment variables.
The immediate use for this is with Apache httpd's piped loggers,
correcting a regression since 1.3.
In general, applications starting child processes often want
the child to run with the same environment variables, so this
plugs a hole in the API.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65213 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
X: pass valid arguments to pthread_attr_setdetachstate.
* include/apr_thread_proc.h: Clarify apr_threadattr_detach_{set,get}
interfaces.
PR: 28472
Submitted by: INOUE Seiichiro <inoue ariel-networks.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65199 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
(NetWare ONLY).
Replaced changes that added APR_PROGRAM_ADDRSPACE committed 6/11/04.
Reviewed by Brad Nicholes
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65196 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
(apr_threadattr_create): Register cleanup for threadattr object, fix
possible memory leak.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65195 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
child program
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65184 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the thread guard area size attribute for newly created threads.
* configure.in: Check for pthread_attr_setguardsize.
* include/apr_thread_proc.h (apr_threadattr_guardsize_set): Add
prototype.
* threadproc/unix/thread.c (apr_threadattr_guardsize_set): Add
function.
* threadproc/os2/thread.c, threadproc/win32/thread.c,
threadproc/beos/thread.c, threadproc/netware/thread.c
(apr_threadattr_guardsize_set): Add ENOTIMPL stubs.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65179 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
apr_signal_block, apr_signal_unblock (since they're not implemented)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65078 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Move outside #if APR_HAS_THREADS to fix non-threaded build; return
ENOTIMPL for !APR_HAS_SIGACTION case.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65077 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
block/unblock only certain signals.
The functions are currently enabled for Unix (beos, os2). It's a null function
for win32 and netware (I really don't know if they even require such a feature)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65076 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
block/unblock only certain signals.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65071 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
stack size for threads created by apr_thread_create().
This is currently a not-implemented stub for BeOS.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64934 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
upon Python at packaging time, but not at end-user config/build time. As far
as I can tell, the build continues to function properly. (out-of-dir
config/make not tested, and apr-iconv prolly needs some work)
The buildconf scripts now generate a build-outputs.mk file which is included
by the root's Makefile (via the build/gen-build.py script). bulid-outputs.mk
specifies all of the various files present in the distribution.
The top-level Makefiles were simplified to use an $(OBJECTS) symbol rather
than 'find'ing them. Similarly, a $(HEADERS) symbol is used for the exports.
The corresponding delete-* targets were eliminated since we have a precise
set of inputs.
The subdirs' Makefiles were removed since they are no longer called/used.
The apr-util/uri Makefile was responsible for compiling a C program to
generate the uri_delims.h file. That process was replaced by a Python script
to generate the header (called by buildconf). The .c and .dsp were left for
the Windows build to continue, but that should be revamped.
build/apr_rules.mk was revamped somewhat to avoid recursion, but a lot of
cleanup is still needed. Much of the recursive/local/x- logic is no longer
needed and can be elimianated. rules.mk was created for inclusion by N
makefiles, but that isn't really true any more, so it could probably be
tossed (caveat: test/Makefile). Saved for a phase 2.
Some additional work was added to properly clean up files in */build/,
rather than relying on a makefile in there.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64891 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Define function regardless of HAVE_PTHREAD_KEY_DELETE.
PR: 23837
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64833 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
segfault.
Some other small pieces of cleanup and reformatting to make the code easier
to read.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64790 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64733 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64728 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64722 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64716 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
structure in apr_threadattr_t, rather than a pointer to one.
* threadproc/unix/thread.c (apr_threadattr_create): Use a single
palloc call, omit ENOMEM handling. (apr_threadattr_detach_set,
apr_threadattr_detach_get, apr_thread_create): Adjust use of ->attr
appropriately.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64663 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_allocator_get_mutex
apr_allocator_get_owner
apr_allocator_set_max_free
apr_allocator_set_mutex
apr_allocator_set_owner
apr_pool_get_abort
apr_pool_get_parent
apr_pool_set_abort
apr_pool_sub_make
apr_signal_get_description
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64606 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Max Bowsher <maxb@ukf.net>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64569 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
recent versions of autoconf.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64562 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Note that the result from WaitFor{*}() calls is a rather
special case, since it has other interesting details. These
were not touched since they are clearer as-is.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64542 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
other possible return code) should call GetLastError, canonicalize it then
return that as apr_status
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64540 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
a setsid() failure as fatal, as the usual cause is that the
caller is already a process group leader.
PR: 18519
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64524 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
it repeatedly until it succeeds or fails with errno other than
EINTR. This hides this UNIX-specific behavior from APR clients.
Submitted by: Eric Gillespie <epg@pretzelnet.org>
Reviewed by: Thom May
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64501 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when there is more than one program argument passed in.
It worked before (and still does) if the app somehow knows to
pass in a single arg which is a string containing the program
name and all args, such as when calling system().
Now it works if the app passes the program arguments normally,
such as when using other modes of apr_proc_create().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64490 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
longer removes CR characters.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64464 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
since NetWare doesn't yet have a way to kill a spawned NLM.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64418 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
doesn't have a process shell that handles it.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64395 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
availability and lifetime of the hproc process handle.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64388 13f79535-47bb-0310-9956-ffa450edef68
|