Re: convert SpinLock* macros to static inline functions - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: convert SpinLock* macros to static inline functions
Date
Msg-id aZzHuiUe7uegX-tT@nathan
Whole thread Raw
In response to Re: convert SpinLock* macros to static inline functions  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
On Thu, Feb 19, 2026 at 10:08:20AM -0600, Nathan Bossart wrote:
> Perhaps it's still worth doing out of an abundance of caution, or maybe I
> am missing something subtle about the liberties that compilers take in this
> area...

Committed.  I ended up abandoning 0001 and adding volatile to the SpinLock*
function signatures, as Andres suggested.

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: getting "shell command argument contains a newline or carriage return:" error with pg_dumpall when db name have new line in double quote
Next
From: Bryan Green
Date:
Subject: Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)