| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Add some links to function
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1839182 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
mutex should or not be cleaned up (destroyed) with the constructed
APR mutex (given pool), and default to not for the simple _put()
function.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1738925 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
internally and can then be axed for 2.0.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1733777 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Make apr_os_proc_mutex_{get,set}[_ex]() available by changing the
native apr_os_proc_mutex_t accessor type to a pointer.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1733776 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
accessors from/to available APR mechanisms, adding the new functions
apr_os_proc_mutex_get_ex() and apr_os_proc_mutex_set_ex() which give
control to the user over the selected mechanisms, including the missing
POSIX semaphores (sem_t) on platforms supporting them.
For POSIX sems, this moves the "sem_t *psem_interproc;" member from struct
apr_proc_mutex_t to apr_os_proc_mutex_t (now complete) so that we can avoid
members duplication between the two structs, and hence replace all the doublons
in apr_os_proc_mutex_t with an apr_os_proc_mutex_t member, called "os", to be
used for runtime.
This first commit aims to be backportable to 1.6.x, thus does not address the
Netware case which requires an incompatible change of the apr_proc_mutex_t to
a pointer type (the implementation is here since very similar to other changes
is this commit, but it is commented out for now, a simple follow up is coming
with the type change for trunk only...).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1733775 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1703886 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Stefan Ruppert <sr myarm.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1098596 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This avoids a missing prototype warning since the function's
C code gets compiled independent of APR_HAS_DSO.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@1085655 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
in APR
Submitted by: Neil Conway <nrc cs.berkeley.edu>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@818977 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428317 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@151412 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64904 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: sander temme <sander at temme dot net>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64851 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
Add apr_os_pipe_put_ex(), which allows the caller to tell APR
to establish a cleanup on the pipe.
Submitted by: Jeff Trawick, Brad Nicholes
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64695 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64688 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
between extern "C" blocks and doxygen blocks, that we never include
other headers within our own header's extern "C" block, that we always
tag the entire file contents for doxygen (within the APR_HEADER_H
only-once block), and generally clean up doxygen so that it is all
consistent and generates respectable (although not yet 'great') results.
Major TODO after 0.9.2 releases; fill in the apr.h APR_HAVE/APR_HAS
and apr_type_t documentation!!!
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64397 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
No functional changes
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64251 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
implementations for Unix and Win32, needed by apr_xlate.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64015 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
No code changes.
(Note removal of #define duplication in apr_poll.h/apr_network_io.h of the
APR_POLL* values. This appears to have been an oversight and is now just
in apr_poll.h)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@64009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63957 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
socket. With APR 1.0, this function will be removed and apr_socket_create()
will have the additional parameter.
Submitted by: Randall Stewart <randall@stewart.chicago.il.us>
Reviewed/mangled by: Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63943 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
results in something that APR will treat as a pipe
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63893 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
all the remaining getuuid.c source should be made generic. I just
grabbed what my compiler tripped over.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63696 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
and apr_proc_mutex_t are interchangeable
currently there aren't any Unix systems with APR_PROC_MUTEX_IS_GLOBAL
is defined... if/when there is, the entire global_mutex.c should be
ignored
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63372 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63346 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
Resolve some circular includes (apr_thread_mutex.h needs apr_pools.h needs
apr_allocator.h needs apr_thread_mutex.h ...).
Remove all apr_lock.h related files (incl. arch-specific headers and
implementations).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63234 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
correct definition. I don't, so I'm not [try including apr_portable.h
in apr_threadproc.h and discover for yourself.]
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63143 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63117 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_exploded_time_t.
PR:
Obtained from:
Submitted by: Thom May <thom@planetarytramp.org>
Reviewed by: Ian Holsman
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63090 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
take the handle and do interesting things, such as passing it (after
duping it) into the child.
Unix implementation is simply the address of the shm region, AFAICT,
but Aaron is reviewing.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62830 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
The reason for this, is that it is very possible to want a temp
file that isn't deleted when the file is closed. It also makes sense
to have the flags in the apr_file_t if possible.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62716 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
apr_os_lock_get/set, but they work for apr_proc_mutex_t types instead.
I did my best to implement these on non-Unix platforms from how I saw
them implemented for apr_os_lock_get/set, but on those platforms they
are untested.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62447 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62381 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
* Combined multipe #ifdef APR_HAVE_THREADS into a single #ifdef
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62187 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
logic didn't work quite right anyway
we had NEED_UNION_SEMUN vs. APR_HAVE_UNION_SEMUN mixed up
we included sys/sem.h when we didn't need to define union semun
but we'd need it the header file if we tried to define it
so that struct semid_ds would be defined
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62169 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Ian Holsman <ianh@cnet.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62143 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Greg Ames
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62111 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@62090 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61958 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions. This allows APR programs to specify that a socket should
be passed to any child processes that are created. The inherit flag
is only meaningful if programs use apr_process_create(). This
also adds a couple of macros that allow APR types to set and unset
the inherit flag.
This also fixes Apache to use the new API.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61939 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
but Ian noticed it and yelled :) Basically we need the definition of
apr_sms_t now that we have the register functions in apr_portable.h,
so add the header.
Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: David Reid <dreid@apache.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61894 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
the portable header as this seems a more logical place for them given they
use apr_os_thread_t. This also simplify's the build process ordering
in certain situations.
BTW, do we still need to add the @deffunc lines as we don't seem to
have been doing in some places. Is this a scandoc change Ben?
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61881 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
and fix the #ifdef's around them.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61880 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
int and vice versa with APR_USE_PROC_PTHREAD_SERIALIZE.
Submitted by: Ryan Bloom
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61846 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
|
|
|
|
|
|
|
| |
code on beos.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61755 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61723 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
|
|
|
|
|
|
|
| |
of shl_t.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61672 13f79535-47bb-0310-9956-ffa450edef68
|