8000 Have to PROC_INCR_SLOCK before return. · postgrespro/postgres_cluster@90d4900 · GitHub
[go: up one dir, main page]

Skip to content

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

8000
Appearance settings

Commit 90d4900

Browse files
committed
Have to PROC_INCR_SLOCK before return.
1 parent e704692 commit 90d4900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/ipc/spin.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.9 1997/09/18 14:20:18 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/Attic/spin.c,v 1.10 1997/09/22 04:20:53 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -116,7 +116,7 @@ SpinAcquire(SPINLOCK lockid)
116116
printf("OUT: ");
117117
PRINT_LOCK(slckP);
118118
#endif
119-
return;
119+
break;
120120
case SHAREDLOCK:
121121
case EXCLUSIVELOCK:
122122
S_UNLOCK(&(slckP->locklock));

0 commit comments

Comments
 (0)
0