apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: svn commit: r1797416 - in /apr/apr/branches/1.7.x: ./ locks/beos/proc_mutex.c locks/os2/proc_mutex.c locks/win32/proc_mutex.c
Date Fri, 02 Jun 2017 23:02:19 GMT
On Fri, Jun 2, 2017 at 8:37 PM,  <wrowe@apache.org> wrote:
> Author: wrowe
> Date: Fri Jun  2 18:37:33 2017
> New Revision: 1797416
>
> URL: http://svn.apache.org/viewvc?rev=1797416&view=rev
> Log:
> On Windows, OS2 and BEOS, the singluar lock mechanisms were already compatible
> with timed locks, so there is no delta between DEFAULT and DEFAULT_TIMED.
>
> Avoid prohibited API changes to typical OS lock information.

But these locks are also DEFAULT_TIMED, so a portable code (runnable
on these or Unixes) which like to check DEFAULT_TIMED to know whether
_timedlock() is available can't.

How about DEFAULT_TIMED = DEFAULT as we discussed already?

Mime
View raw message