Re: dynamic shared memory and locks - Mailing list pgsql-hackers

From Kohei KaiGai
Subject Re: dynamic shared memory and locks
Date
Msg-id CADyhKSUBoFM0n374ftEXWvPUa+bw=vidO=q6xXKcOb5CQzEi5A@mail.gmail.com
Whole thread Raw
In response to Re: dynamic shared memory and locks  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
2014/1/23 Andres Freund <andres@2ndquadrant.com>:
> On 2014-01-23 23:03:40 +0900, Kohei KaiGai wrote:
>> Isn't it necessary to have an interface to initialize LWLock structure being
>> allocated on a dynamic shared memory segment?
>> Even though LWLock structure is exposed at lwlock.h, we have no common
>> way to initialize it.
>
> There's LWLockInitialize() or similar in the patch afair.
>
Ahh, I oversight the code around tranche-id. Sorry for this noise.

Thanks,
-- 
KaiGai Kohei <kaigai@kaigai.gr.jp>



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: dynamic shared memory and locks
Next
From: Andrew Dunstan
Date:
Subject: Re: Add min and max execute statement time in pg_stat_statement