File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66
66
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
67
67
* Portions Copyright (c) 1994, Regents of the University of California
68
68
*
69
- * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.170 2010/01/04 17:10:24 mha Exp $
69
+ * $PostgreSQL: pgsql/src/include/storage/s_lock.h,v 1.171 2010/01/05 11:06:28 mha Exp $
70
70
*
71
71
*-------------------------------------------------------------------------
72
72
*/
@@ -837,13 +837,13 @@ typedef LONG slock_t;
837
837
#define SPIN_DELAY () spin_delay()
838
838
839
839
/* If using Visual C++ on Win64, inline assembly is unavailable.
840
- * Use a __nop instrinsic instead of rep nop.
840
+ * Use a _mm_pause instrinsic instead of rep nop.
841
841
*/
842
842
#if defined(_WIN64 )
843
843
static __forceinline void
844
844
spin_delay (void )
845
845
{
846
- __nop ();
846
+ _mm_pause ();
847
847
}
848
848
#else
849
849
static __forceinline void
You can’t perform that action at this time.
0 commit comments