Re: [pgsql-hackers-win32] [BUGS] Win32 deadlock detection not working for Postgres8beta1
Re: [pgsql-hackers-win32] [BUGS] Win32 deadlock detection not working for Postgres8beta1
От:
"Magnus Hagander" <mha@sollentuna.net>
Дата:
>Bugger. I've found the reason for this - statement_timeout was also >broken. This was broken by the change of how signals are handled on >win32. We disabled APCs completely, but APCs were still used in the >timer emulation... This patch fixes this by re-enabling APCs >in the main >check loop. The APC routine used by the timer code is very simple and >will not interfer with the signal stuff (which had problems with socket >calls, as you probably recall). Sorry, this was a bit premature. There are a few more places that need to be cleane dup. I'll send a new patch in a couple of minutes. //Magnus