Re: Win32 signal code - first try - Mailing list pgsql-hackers-win32

From Claudio Natoli
Subject Re: Win32 signal code - first try
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F249@harris.memetrics.local
Whole thread Raw
List pgsql-hackers-win32
[oops. I missed this question]

> >1) Named pipe server creates new thread on receipt of signal
> I'm assuming you read the signal number somewhere in between here?
> Before the WriteFile, no?

Yep. The ReadFile section, to pull the signal number, wouldn't change (ie.
just how you've got it), so I didn't bother mentioning it. It would then
fire a thread to do the signal queuing, and, if the thread gets created ok,
WriteFile to release the waiting raise/kill.

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

pgsql-hackers-win32 by date:

Previous
From: Claudio Natoli
Date:
Subject: Re: Win32 signal code - first try
Next
From: "Magnus Hagander"
Date:
Subject: Re: Win32 signal code - first try