|
6 | 6 | * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group |
7 | 7 | * |
8 | 8 | * IDENTIFICATION |
9 | | - * $PostgreSQL: pgsql/src/backend/port/win32_sema.c,v 1.4 2007/01/05 22:19:35 momjian Exp $ |
| 9 | + * $PostgreSQL: pgsql/src/backend/port/win32_sema.c,v 1.5 2007/04/24 12:25:18 mha Exp $ |
10 | 10 | * |
11 | 11 | *------------------------------------------------------------------------- |
12 | 12 | */ |
@@ -82,7 +82,7 @@ PGSemaphoreCreate(PGSemaphore sema) |
82 | 82 | sec_attrs.bInheritHandle= TRUE; |
83 | 83 |
|
84 | 84 | /* We don't need a named semaphore */ |
85 | | -cur_handle=CreateSemaphore(&sec_attrs,1,1,NULL); |
| 85 | +cur_handle=CreateSemaphore(&sec_attrs,1,32767,NULL); |
86 | 86 | if (cur_handle) |
87 | 87 | { |
88 | 88 | /* Successfully done */ |
|