Skip to content

Commit fe90c54

Browse files
committed
Add var defines for no testandset
1 parent ef15ed1 commit fe90c54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/storage/buffer/buf_init.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.24 1999/06/12 22:17:24 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/buf_init.c,v 1.25 1999/06/26 15:58:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -235,6 +235,8 @@ InitBufferPool(IPCKey key)
235235
#ifndef HAS_TEST_AND_SET
236236
{
237237
int status;
238+
extern IpcSemaphoreId WaitIOSemId;
239+
extern IpcSemaphoreId WaitCLSemId;
238240

239241
WaitIOSemId = IpcSemaphoreCreate(IPCKeyGetWaitIOSemaphoreKey(key),
240242
1, IPCProtection, 0, 1, &status);

0 commit comments

Comments
 (0)