[Tarantool-patches] [PATCH v2] core: handle fiber cancellation for fiber.cond

Oleg Babin olegrok at tarantool.org
Tue Nov 3 13:27:12 MSK 2020


Hi! Thanks for your comment and diff.

On 03/11/2020 13:20, Sergey Ostanevich wrote:
> So, my resolution will be: it is wrong to set a diag in an arbitrary
> place, without clear understanting of the reason. This is the case for
> the cond_wait machinery, since it doesn't know_why_  the fiber is
> cancelled.
>
> I propose to cover the case with condition on empty diag and call it a
> day.

Sounds reasonable. It seems to be ok.



More information about the Tarantool-patches mailing list