8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e347a commit 057d5c4Copy full SHA for 057d5c4
src/include/storage/s_lock.h
@@ -66,7 +66,7 @@
66
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
67
* Portions Copyright (c) 1994, Regents of the University of California
68
*
69
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.159 2007/05/04 15:20:52 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.160 2007/07/16 02:03:14 tgl Exp $
70
71
*-------------------------------------------------------------------------
72
*/
@@ -750,6 +750,8 @@ typedef abilock_t slock_t;
750
751
#define HAS_TEST_AND_SET
752
753
+#include <sys/atomic_op.h>
754
+
755
typedef unsigned int slock_t;
756
757
#define TAS(lock) _check_lock(lock, 0, 1)
0 commit comments