8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 152b77a commit 93dc5a2Copy full SHA for 93dc5a2
src/backend/port/win32_sema.c
@@ -6,7 +6,7 @@
6
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
7
*
8
* IDENTIFICATION
9
- * $PostgreSQL: pgsql/src/backend/port/win32_sema.c,v 1.4 2007/01/05 22:19:35 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/port/win32_sema.c,v 1.5 2007/04/24 12:25:18 mha Exp $
10
11
*-------------------------------------------------------------------------
12
*/
@@ -82,7 +82,7 @@ PGSemaphoreCreate(PGSemaphore sema)
82
sec_attrs.bInheritHandle = TRUE;
83
84
/* We don't need a named semaphore */
85
- cur_handle = CreateSemaphore(&sec_attrs, 1, 1, NULL);
+ cur_handle = CreateSemaphore(&sec_attrs, 1, 32767, NULL);
86
if (cur_handle)
87
{
88
/* Successfully done */
0 commit comments