Set maximum semaphore count to 32767 instead of 1. Fixes
authorMagnus Hagander <[email protected]>
Tue, 24 Apr 2007 12:25:23 +0000 (12:25 +0000)
committerMagnus Hagander <[email protected]>
Tue, 24 Apr 2007 12:25:23 +0000 (12:25 +0000)
commit807c63ca1b7db82ca7656f3ec469926729ce3697
treecda221957688dc7ae9f8ad0d2f8941bf69033a57
parent2e1580c1a681f11348069793969e6907b00224a6
Set maximum semaphore count to 32767 instead of 1. Fixes
errorcode 298 when unlocking a semaphore more than once.

Per report from Marcin Waldowski.
src/backend/port/win32_sema.c