apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: Default Linux mutex method
Date Mon, 03 Apr 2017 21:52:37 GMT
On Mon, Apr 3, 2017 at 9:06 PM, Jim Jagielski <jim@jagunet.com> wrote:
> Considering the sad affair w/ pthread on OSX, I would
> recommend we stay w/ using sems.

pthread_cond_timedlock() is not really mandatory IMHO (we did not have
it in 1.5.x), and anyway it's not implemented with any other mechanism

If shared pthreads are robust and have no issues with latests Linux,
BSDs (including MacOS) and Solaris, I think we should use them by
default, and fall back to the current default for older versions
(known to not work as expected) only.

View raw message