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

From Andres Freund
Subject Re: dynamic shared memory and locks
Date
Msg-id 20140123140659.GD7182@awork2.anarazel.de
Whole thread Raw
In response to Re: dynamic shared memory and locks  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Responses Re: dynamic shared memory and locks  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
List pgsql-hackers
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.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Kohei KaiGai
Date:
Subject: Re: dynamic shared memory and locks
Next
From: Kohei KaiGai
Date:
Subject: Re: dynamic shared memory and locks