Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
caf6e9d2
Commit
caf6e9d2
authored
Dec 23, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have configure --without-spinlocks actually not use spinlock code, even
if supported by the cpu.
parent
69f2e9b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+4
-2
No files found.
src/include/storage/s_lock.h
View file @
caf6e9d2
...
...
@@ -63,7 +63,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.12
0 2003/12/23 03:31:3
0 momjian Exp $
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.12
1 2003/12/23 03:52:1
0 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -72,6 +72,7 @@
#include "storage/pg_sema.h"
#ifdef HAVE_SPINLOCKS
/* skip spinlocks if requested */
#if defined(__GNUC__) || defined(__ICC)
/*************************************************************************
...
...
@@ -438,7 +439,7 @@ typedef unsigned char slock_t;
* Uses non-gcc inline assembly:
*/
#if !defined(HAS_TEST_AND_SET)
#if !defined(HAS_TEST_AND_SET)
/* We didn't trigger above, let's try here */
#if defined(USE_UNIVEL_CC)
typedef
unsigned
char
slock_t
;
...
...
@@ -604,6 +605,7 @@ typedef unsigned char slock_t;
#endif
/* !defined(HAS_TEST_AND_SET */
#endif
/* HAVE_SPINLOCKS */
#ifndef HAS_TEST_AND_SET
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment