Re: (Cygwin) postmaster shutdown problem - Mailing list pgsql-ports

From Yutaka tanida
Subject Re: (Cygwin) postmaster shutdown problem
Date
Msg-id 20010110001528.3E74.YUTAKA@hi-net.zaq.ne.jp
Whole thread Raw
In response to Re: (Cygwin) postmaster shutdown problem  (Jason Tishler <Jason.Tishler@dothill.com>)
List pgsql-ports
Jason,

On Tue, 9 Jan 2001 09:50:56 -0500
Jason Tishler <Jason.Tishler@dothill.com> wrote:

> I find it curious that you think that the problem is in cygipc.  How does
> cygipc get involved when I am sending the SIGTERM signal directly to
> postmaster?

Cygipc's implemention ignores all signals.

Because, cygwin's signal recieving implemented by WaitForMultipleObject()
and signal_arrived variable .Cygipc semaphore is implemented by win32
semaphore and WaitForSingleObject(). So  these 2 implemention was same
level interrupt on windows .

To fix this , we must rewrite every WaitForSingleObject() to handle
signals and returns EINTR.

---
Yutaka tanida<yutaka@hi-net.zaq.ne.jp>


pgsql-ports by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Re: Cygwin PostgreSQL postmaster abort problem
Next
From: Peter Eisentraut
Date:
Subject: Re: Re: Cygwin PostgreSQL postmaster abort problem