Re: socket calls in signal handler (WAS: APC + socket r - Mailing list pgsql-hackers

From Claudio Natoli
Subject Re: socket calls in signal handler (WAS: APC + socket r
Date
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F363@harris.memetrics.local
Whole thread Raw
List pgsql-hackers
> If that is indeed the case, I withdraw all my comments and misdirected
> ideas, and say we go for a win32 specific workaround :-)

We just need to be very careful on what this work-around is though...

For instance, whilst the idea of an "APCcalled" flag will work just fine,
mechanically, I'm extremely hesitant to adopt it until we *know* for sure
that, by making a socket call inside the APC, we aren't somehow munging
another part of the socket state. [after all, we didn't anticipate the
current issue]

Unfortunately, afaics, the MSDN documentation is pretty slim on details in
this regard.

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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Out of space situation and WAL log pre-allocation (was
Next
From: Claudio Natoli
Date:
Subject: Re: socket calls in signal handler (WAS: APC + socket r