index c32a74aca41c180de730c092198c9566e06f91e8..51ffb8e773b8e7d9a18ae3e7dffc490eb72aba2b 100644 (file)
_CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);
}
#endif /* WIN32 */
-
- /*
- * Initialize dummy_spinlock, in case we are on a platform where we have
- * to use the fallback implementation of pg_memory_barrier().
- */
- SpinLockInit(&dummy_spinlock);
}
index 8437b1307364a185b494aa9cf3246a7837f424cc..9b389d9951248df11e83fe645db993a823571986 100644 (file)
@@ -70,8 +70,6 @@ static uint32 local_my_wait_event_info;
uint32 *my_wait_event_info = &local_my_wait_event_info;
#endif
-slock_t dummy_spinlock;
-
static int spins_per_delay = DEFAULT_SPINS_PER_DELAY;
index aa06e49da26c3a1800371b7c8050129849471ece..69582f4ae71841cde2e3216520f8790fde1ab543 100644 (file)
@@ -821,7 +821,6 @@ extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or
#define TAS_SPIN(lock) TAS(lock)
#endif /* TAS_SPIN */
-extern PGDLLIMPORT slock_t dummy_spinlock;
/*
* Platform-independent out-of-line support routines