|
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 | #defineSPIN_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 __forceinlinevoid |
844 | 844 | spin_delay(void) |
845 | 845 | { |
846 | | -__nop(); |
| 846 | +_mm_pause(); |
847 | 847 | } |
848 | 848 | #else |
849 | 849 | static __forceinlinevoid |
|