Re: Backbranch releases and Win32 locking
От | Teodor Sigaev |
---|---|
Тема | Re: Backbranch releases and Win32 locking |
Дата | |
Msg-id | 452A6398.2070201@sigaev.ru обсуждение исходный текст |
Ответ на | Re: Backbranch releases and Win32 locking ("Magnus Hagander" <mha@sollentuna.net>) |
Ответы |
Re: Backbranch releases and Win32 locking
|
Список | pgsql-hackers |
> 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 > first. 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 pgwin32_waitforsinglesocket(). > >> 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 :-) > > //Magnus > -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/
В списке pgsql-hackers по дате отправления: