> 2 июля 2020 г., в 17:02, Daniel Gustafsson <dan...@yesql.se> написал(а):
> 
>> On 15 May 2020, at 02:03, Kyotaro Horiguchi <horikyota....@gmail.com> wrote:
> 
>> Generally in such cases, condition variables would work.  In the
>> attached PoC, the reader side gets no penalty in the "likely" code
>> path.  The writer side always calls ConditionVariableBroadcast but the
>> waiter list is empty in almost all cases.  But I couldn't cause the
>> situation where the sleep 1000u is reached.
> 
> The submitted patch no longer applies, can you please submit an updated
> version?  I'm marking the patch Waiting on Author in the meantime.
Thanks, Daniel! PFA V2

Best regards, Andrey Borodin.

Attachment: v2-0001-Use-shared-lock-in-GetMultiXactIdMembers-for-offs.patch
Description: Binary data

Attachment: v2-0002-Make-MultiXact-local-cache-size-configurable.patch
Description: Binary data

Attachment: v2-0003-Add-conditional-variable-to-wait-for-next-MultXac.patch
Description: Binary data


Reply via email to