Re: global barrier & atomics in signal handlers (Re: Atomicoperations within spinlocks) - Mailing list pgsql-hackers

From Robert Haas
Subject Re: global barrier & atomics in signal handlers (Re: Atomicoperations within spinlocks)
Date
Msg-id CA+TgmoYGXPAKkqfBRQ1O9yEi+B-CMwqGe1kbDQOjMxp72xZ1Mw@mail.gmail.com
Whole thread Raw
In response to Re: global barrier & atomics in signal handlers (Re: Atomicoperations within spinlocks)  (Andres Freund <andres@anarazel.de>)
Responses Re: global barrier & atomics in signal handlers (Re: Atomicoperations within spinlocks)  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Jun 9, 2020 at 6:54 PM Andres Freund <andres@anarazel.de> wrote:
> What do you think about my idea of having a BEGIN/END_SIGNAL_HANDLER?
> That'd make it much easier to write assertions forbidding palloc, 64bit
> atomics, ...

I must have missed the previous place where you suggested this, but I
think it's a good idea.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Fast DSM segments
Next
From: Jeff Davis
Date:
Subject: Re: Default setting for enable_hashagg_disk