On Fri, Apr 7, 2017 at 6:07 PM, Yann Ylavic <ylavic....@gmail.com> wrote:
> On Fri, Apr 7, 2017 at 4:33 PM, Jim Jagielski <j...@jagunet.com> wrote:
>>
>>> On Apr 7, 2017, at 9:53 AM, Branko Čibej <br...@apache.org> wrote:
>>>
>>> On 07.04.2017 14:38, Jim Jagielski wrote:
>>>> You are assuming that the dev directly sets the timeout... what if it
>>>> is calculated and somehow the calc'd time is negative. To me
>>>> that means that it's "too late" and the expected result would
>>>> be a timeout,
>>>
>>> Timeout iff the lock can't be immediately acquired, I'd say
>>
>> Again, I could see that as expected rather than "wait forever" :)
>
> How about:
> #define APR_INFINITE_TIMEOUT APR_INT64_MIN

Or even APR_INT64_MAX which would make more sense possibly.

Reply via email to