Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf219167

Browse files
committed
Clean up includes of s_lock.h.
Users of spinlocks should use spin.h, not s_lock.h. And lwlock.hhasn't utilized spinlocks for quite a while.Discussion:https://postgr.es/m/20200618183041.upyrd25eosecyf3x@alap3.anarazel.de
1 parentcf1234a commitf219167

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

‎src/backend/main/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include"common/username.h"
3636
#include"port/atomics.h"
3737
#include"postmaster/postmaster.h"
38-
#include"storage/s_lock.h"
3938
#include"storage/spin.h"
4039
#include"tcop/tcopprot.h"
4140
#include"utils/help_config.h"

‎src/include/storage/condition_variable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#defineCONDITION_VARIABLE_H
2424

2525
#include"storage/proclist_types.h"
26-
#include"storage/s_lock.h"
26+
#include"storage/spin.h"
2727

2828
typedefstruct
2929
{

‎src/include/storage/lwlock.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#include"port/atomics.h"
2222
#include"storage/proclist_types.h"
23-
#include"storage/s_lock.h"
2423

2524
structPGPROC;
2625

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp