Re: condition variables

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: condition variables
Дата
Msg-id CAA4eK1L+f3NitMxRbwgCAae9O+Gj1OCTodV4EkLFuiRGTSg39A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: condition variables  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Tue, Sep 6, 2016 at 5:29 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Mon, Sep 5, 2016 at 3:17 PM, Amit Kapila <amit.kapila16@gmail.com> wrote:
>> On Mon, Aug 15, 2016 at 10:35 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>>>>> Don't you need to set proc->cvSleeping = false in ConditionVariableSignal?
>>>>
>>>> I poked at this a bit... OK, a lot... and have some feedback:
>>>>
>>>> 1.  As above, we need to clear cvSleeping before setting the latch.
>>>
>>> Right, OK.
>>>
>>
>> I have independently faced this problem while using your patch and for
>> now I have updated my local copy.  If possible, please send an updated
>> patch as this patch could be used for development of various
>> parallelism projects.
>
> Thomas already posted an updated patch in the same message where he
> reported the problem.
>

Oops, I missed that, will use the same.


-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: Declarative partitioning - another take
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug in 9.6 tuplesort batch memory growth logic