Re: experimental: replace s_lock spinlock code with pthread_mutex on linux - Mailing list pgsql-hackers

From Nils Goroll
Subject Re: experimental: replace s_lock spinlock code with pthread_mutex on linux
Date
Msg-id 4FEADC27.30100@schokola.de
Whole thread Raw
In response to Re: experimental: replace s_lock spinlock code with pthread_mutex on linux  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
>> Using futexes directly could be even cheaper.
> Note that below this you only have the futex(2) system call.
I was only referring to the fact that we could save one function and one library
call, which could make a difference for the uncontended case.


pgsql-hackers by date:

Previous
From: Asif Naeem
Date:
Subject: plpython issue with Win64 (PG 9.2)
Next
From: Andres Freund
Date:
Subject: Re: [PATCH 01/16] Overhaul walsender wakeup handling