Re: Non-volatile variables used for spinlock manipulation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Antonin Houska <ah(at)cybertec(dot)at>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Non-volatile variables used for spinlock manipulation
Date: 2015-09-04 13:42:20
Message-ID: 17120.1441374140@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Antonin Houska <ah(at)cybertec(dot)at> writes:
> Since SpinLockAcquire() / SpinLockRelease() macros usually reference variables
> declared as volatile, I wonder if the following changes should be applied.

We've been making changes to remove that requirement, so I think that at
least in 9.5/HEAD this isn't an issue anymore.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-09-04 13:52:16 Re: Fwd: Core dump with nested CREATE TEMP TABLE
Previous Message Tom Lane 2015-09-04 13:40:43 Re: Making tab-complete.c easier to maintain