[postgis-devel] Threading in BGWorkers

James Sewell james.sewell at jirotech.com
Mon Jun 22 03:53:17 PDT 2020


I just realised I sent this to PostGIS-devel not Postgres-hackers - I’ll
move it across!

On Mon, 22 Jun 2020 at 8:52 pm, Greg Troxel <gdt at lexort.com> wrote:

> James Sewell <james.sewell at jirotech.com> writes:
>
> >    3. it's safe for postgres to call any system library function, even
> >       ones explicitly marked as not thread safe
>
> > 3. needs to be converted to a list of possible calls - which can be done
> > and checked.
>
> "checked" how?  Presumably the issue is that posix doesn't say they are
> ok, but somehow they are.  Do you mean
>
>   checked by reading the operating system sources ont he particular
>   system you happen to be using
>
> and for this to be a local decision to exceed the normal safety
> guidelines?  Or do you mean something larger scale?
>
-- 
James Sewell,
*Chief Architect, Jirotech*
Suite 46, Jones Bay Wharf, 26-32 Pirrama Road, Pyrmont NSW 2009
*P *(+61) 2 8099 9000 <(+61)%202%208099%209000>  *W* www.jirotech.com  *F *
(+61) 2 8099 9099 <(+61)%202%208099%209000>

-- 
The contents of this email are confidential and may be subject to legal or 
professional privilege and copyright. No representation is made that this 
email is free of viruses or other defects. If you have received this 
communication in error, you may not copy or distribute any part of it or 
otherwise disclose its contents to anyone. Please advise the sender of your 
incorrect receipt of this correspondence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20200622/25b9868f/attachment.html>


More information about the postgis-devel mailing list