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
5042985f
Commit
5042985f
authored
Sep 02, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add s_lock support for HPUX on IA64, per Shinji Teragaito.
parent
e00896f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/include/storage/s_lock.h
src/include/storage/s_lock.h
+13
-1
No files found.
src/include/storage/s_lock.h
View file @
5042985f
...
...
@@ -66,7 +66,7 @@
* Portions Copyright (c) 1996-2004, 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
8 2004/08/30 22:49:07
tgl Exp $
* $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.12
9 2004/09/02 17:10:58
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -541,6 +541,18 @@ tas(volatile slock_t *lock)
#endif
/* __hppa || __hppa__ */
#if defined(__hpux) && defined(__ia64) && !defined(__GNUC__)
#define HAS_TEST_AND_SET
typedef
unsigned
int
slock_t
;
#include <ia64/sys/inline.h>
#define TAS(lock) _Asm_xchg(_SZ_W, lock, 1, _LDHINT_NONE)
#endif
/* HPUX on IA64, non gcc */
#if defined(__QNX__) && defined(__WATCOMC__)
/*
* QNX 4 using WATCOM C
...
...
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