Re: Race conditions, race conditions!

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Race conditions, race conditions!
Дата
Msg-id 87d5s2u8zc.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Race conditions, race conditions!  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Race conditions, race conditions!  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> The trick is to run this under astronomical load; 100 or so client
> threads on a garden-variety PC is about right.

I wonder if there's an argument for building assertion-enabled builds with
code that randomly yields the processor some percentage of time before and
after taking a lock. It wouldn't catch every case but it might help.

-- 
greg



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: pgFoundry
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: pgFoundry