Simplify sleeping while reading/writing from client

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Simplify sleeping while reading/writing from client
Дата
Msg-id 54D3821E.9060004@vmware.com
обсуждение исходный текст
Ответы Re: Simplify sleeping while reading/writing from client
Re: Simplify sleeping while reading/writing from client
Список pgsql-hackers
Looking again at the code after Andres' interrupt-handling patch series,
I got confused by the fact that there are several wait-retry loops in
different layers, and reading and writing works slightly differently.

I propose the attached, which pulls all the wait-retry logic up to
secure_read() and secure_write(). This makes the code a lot more
understandable.

- Heikki

Вложения

В списке pgsql-hackers по дате отправления: