I've re-coded the Windows rwlock based on the OS/2 algorithm implemented by
Brian Havard. My test program doesn't show starvation with this algorithm.
I'm assuming that the code is stable and works correctly on OS/2, and it's
essentially the same code here, plus it passes all the tests I know how
A minor inconsistency, don't know if it's documented anywhere...
On Windows apr_time_now() and file modification times are the same. So a
test program that prints the current time, creates a file and prints its
modification time, and then prints the current time again will print
something like:
Joe Orton wrote:
> On Tue, Jun 17, 2003 at 10:15:32PM +0100, Max Bowsher wrote:
>> Joe Orton wrote:
>>> Hi Max,
>>>
>>> On Tue, Jun 10, 2003 at 07:09:48PM +0100, Max Bowsher wrote:
Below are the patches, one to apr and one to apr-util, revised to use
PrintPath.
>>>
>>> I think it's useful
On Tue, Jun 17, 2003 at 10:15:32PM +0100, Max Bowsher wrote:
> Joe Orton wrote:
> > Hi Max,
> >
> > On Tue, Jun 10, 2003 at 07:09:48PM +0100, Max Bowsher wrote:
> >> Below are the patches, one to apr and one to apr-util, revised to use
> >> PrintPath.
> >
> > I think it's useful to allow finding li
Joe Orton wrote:
> Hi Max,
>
> On Tue, Jun 10, 2003 at 07:09:48PM +0100, Max Bowsher wrote:
>> Below are the patches, one to apr and one to apr-util, revised to use
>> PrintPath.
>
> I think it's useful to allow finding libtool.m4 in odd places without
> requiring an aclocal installation - since th
Hi Max,
On Tue, Jun 10, 2003 at 07:09:48PM +0100, Max Bowsher wrote:
> Below are the patches, one to apr and one to apr-util, revised to use
> PrintPath.
I think it's useful to allow finding libtool.m4 in odd places without
requiring an aclocal installation - since this can be done with a very
si
[EMAIL PROTECTED] wrote:
> jorton 2003/06/17 13:44:25
>
> Modified:.buildconf
> Log:
> Use the location of libtool.m4 given in the LIBTOOL_M4 environment
> variable, if set.
Is this a "we don't want your patch", or simply a parallel development?
I can see the point of pro
On Tue, 17 Jun 2003, Max Bowsher wrote:
> Am I doing something wrong?
No, nothing wrong... the only problem is that there are a limited number
of people who deeply grok our build system (I am not one of them), and all
of us stay pretty busy most of the time. I've personally got about three
patch
Hi,
in apr_strings.h is defined:
APR_DECLARE(int) apr_strnatcmp(char const *a, char const *b);
APR_DECLARE(int) apr_strnatcasecmp(char const *a, char const *b);
but I wonder that there are no equivalents for strncmp and strncasecmp??
Guenter.
Hi all,
I've problems creating a SDBM database on Linux with both Apache 1.3 and 2.0
SDBM lib;
with AP2 I've tried from my module:
retval = apr_dbm_open_ex(&dbm, c->cntr_dbmtype, c->cntr_file,
APR_DBM_RWCREATE,
DEFAULT_DBM_PERM, r->pool);
also I have tried with
Ping?
Am I doing something wrong?
If the problem is just that all maintainers are busy, can I get a "queued
for review" acknowledgement?
Thanks,
Max.
Max Bowsher wrote:
> Ping? I got one person saying +1, but no other response.
>
>
> Max.
>
>
> Max Bowsher wrote:
>> Below are the patches, o
> >I have code that uses a rwlock, a mutex, a condition, and an
> atomic variable
> >to provide something approaching fairness (on W2K, I haven't
> gotten around
> >to testing this on Linux yet). I can post it if anyone is interested.
>
> The OS/2 implementation (locks/os2/thread_rwlock.c) I wrote
At 02:34 PM 6/16/2003, Juan Rivera wrote:
>Instead of using Select, use WSACreateEvent and WSAEventSelect to assign an
>event to the socket. Then use WaitOnMultipleObjects to wait on sockets and
>pipes at the same time.
Juan,
This theory is good - if you look at the attached apr/poll/win32/pol
When I compile with -ansi in my CFLAGS, I get
/usr/local/apr/include/apr-0/apr.h:428:2: #error no decision has been made on
APR_PATH_MAX for your platform
However, when ansi is off it works...
does anyone have an idea why this is the case? I tend to like the safety of
ansi.
Josh.
14 matches
Mail list logo