mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Add x86_64 support for spinlocks.
Jeffrey W. Baker
This commit is contained in:
parent
7cb4278e82
commit
aa62f7f74a
@ -63,7 +63,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: s_lock.h,v 1.108 2003/06/24 23:19:11 momjian Exp $
|
||||
* $Id: s_lock.h,v 1.109 2003/06/24 23:20:08 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -94,7 +94,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
#define TAS(lock) tas(lock)
|
||||
|
||||
static __inline__ int
|
||||
|
Loading…
Reference in New Issue
Block a user