Non-volatile variables used for spinlock manipulation

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Non-volatile variables used for spinlock manipulation
Date: 2015-09-04 10:19:46
Message-ID: 23591.1441361986@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Since SpinLockAcquire() / SpinLockRelease() macros usually reference variables
declared as volatile, I wonder if the following changes should be applied.

--
Antonin Houska
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de, http://www.cybertec.at

Attachment Content-Type Size
volatile.patch text/x-diff 1.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2015-09-04 10:50:46 Re: Foreign join pushdown vs EvalPlanQual
Previous Message Simon Riggs 2015-09-04 09:41:51 Re: Declarative partitioning