> > > Both win32 send/recv have pgwin32_poll_signals() in them. > > > This is glorified WaitForSingleObjectEx on global > > > pgwin32_signal_event. This is probably part of the problem. > > > Can we work some of the same magic you put into check interrupts > > > macro? > > > > > > > Uh, we already do that, don't we? > > > http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/win3 > > 2/ > > socket.c?rev=1.10 > > has: > > > > Yeah, we did this. I am thinking of just use simple mechanism > of the win32 sockets, which could not pick up signals, but I > would like to see if there is any difference -- do you think > there is any point to try this? Sorry, I don't follow you here - what do you mean to do? Remove the event completely so we can't wait on it? //Magnus