Re: Feature: POSIX Shared memory support - Mailing list pgsql-patches

From Alvaro Herrera
Subject Re: Feature: POSIX Shared memory support
Date
Msg-id 20070207154106.GB6152@alvh.no-ip.org
Whole thread Raw
In response to Re: Feature: POSIX Shared memory support  ("Andrew Dunstan" <andrew@dunslane.net>)
List pgsql-patches
Andrew Dunstan wrote:

> Perl provides a moderately portable flock(), which we use in fact in
> buildfarm to stop it from running more than one at a time on a given repo
> copy.
>
[...]

> Maybe we can borrow some code.

Probably not, because it's GPL/Artistic; but we could borrow some ideas
instead.

The relevant code is here
http://public.activestate.com/cgi-bin/perlbrowse/f/pp_sys.c

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Feature: POSIX Shared memory support
Next
From: Gregory Stark
Date:
Subject: Re: LIMIT/SORT optimization