Clean up includes of s_lock.h.
Andres Freund <andres@anarazel.de>
Clean up includes of s_lock.h. Users of spinlocks should use spin.h, not s_lock.h. And lwlock.h hasn't utilized spinlocks for quite a while. Discussion: https://postgr.es/m/20200618183041.upyrd25eosecyf3x@alap3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/main/main.c | modified | +0 −1 |
| src/include/storage/condition_variable.h | modified | +1 −1 |
| src/include/storage/lwlock.h | modified | +0 −1 |
Discussion
- Atomic operations within spinlocks 43 messages · 2020-06-03 → 2020-06-18