Hmm. Not entirely sure. These are all in the SSL codepath. Are you using
SSL on the machine? Does the problem go away if you don't? (I was

No, we don;t use SSL.

The normal way is that pgwin32_waitforsinglesocket is called from
pgwin32_send(), which will always have made the attempt to send data

My doubt is: can ResetEvent resets signaled state of associated event object? Look, in any case pgwin32_waitforsinglesocket() resets event before WSAEventSelect().

pgwin32_send() calls WSASend and if it fails, call 

It's a pity, but locking problem occurs only on SMP box and
requires several hours to reproduce. So we are in testing now.

Yikes, that's definitely not nice :-)


Teodor Sigaev                                   E-mail: [EMAIL PROTECTED]

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to