Re: s_lock() seems too aggressive for machines with many sockets

Поиск
Список
Период
Сортировка
От Nils Goroll
Тема Re: s_lock() seems too aggressive for machines with many sockets
Дата
Msg-id 557854D7.7090302@schokola.de
обсуждение исходный текст
Ответ на Re: s_lock() seems too aggressive for machines with many sockets  (Jan Wieck <jan@wi3ck.info>)
Список pgsql-hackers
On 10/06/15 17:12, Jan Wieck wrote:
> for (...)
> {
>     s_lock();
>     // do something with a global variable
>     s_unlock();
> }

OK, I understand now, thank you. I am not sure if this test case is appropriate
for the critical sections in postgres (if it was, we'd not have the problem we
are discussion).

Nils



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

Предыдущее
От: Nils Goroll
Дата:
Сообщение: Re: s_lock() seems too aggressive for machines with many sockets
Следующее
От: Andres Freund
Дата:
Сообщение: Re: s_lock() seems too aggressive for machines with many sockets