apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Default Linux mutex method
Date Mon, 03 Apr 2017 18:13:09 GMT
Of course, it depends on the number of threads, natch...

> On Apr 3, 2017, at 2:07 PM, Jim Jagielski <jim@jaguNET.com> wrote:
> 
> Using:
> 
>    https://github.com/jimjag/benchmarks/blob/master/lock/lock_test.c
> 
> under OSX/macOS, pthread_mutex_lock is much quicker. Which makes
> sense since sysv sems and posix sems do much more than simply
> "lock"


Mime
View raw message