diff options
author | Thomas Munro | 2024-07-30 09:45:01 +0000 |
---|---|---|
committer | Thomas Munro | 2024-07-30 10:58:37 +0000 |
commit | e25626677f8076eb3ce94586136c5464ee154381 (patch) | |
tree | f03f87af97b998e2dd5aadcfe8a93a83a1ae716b /meson.build | |
parent | 1330843bb78e9d2422af2f2b9909b80732bd6fc0 (diff) |
Remove --disable-spinlocks.
A later change will require atomic support, so it wouldn't make sense
for a hypothetical new system not to be able to implement spinlocks.
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> (concept, not the patch)
Reviewed-by: Andres Freund <andres@anarazel.de> (concept, not the patch)
Discussion: https://postgr.es/m/3351991.1697728588%40sss.pgh.pa.us
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meson.build b/meson.build index 27805b9bcc9..6a0d5383652 100644 --- a/meson.build +++ b/meson.build @@ -2089,12 +2089,6 @@ endif # Atomics ############################################################### -if not get_option('spinlocks') - warning('Not using spinlocks will cause poor performance') -else - cdata.set('HAVE_SPINLOCKS', 1) -endif - if not get_option('atomics') warning('Not using atomics will cause poor performance') else |