Re: [PATCH v1 1/1] malloc/mp: fix wait condition handling

2024-07-23 Thread Thomas Monjalon
12/07/2024 13:41, Anatoly Burakov: > From coverity's point of view, it is theoretically possible to have an > infinite wait on a wait condition because while we do check for timeout, > we do not check for whether the event we are waiting for has already > occurred by the time we get to the first co

[PATCH v1 1/1] malloc/mp: fix wait condition handling

2024-07-12 Thread Anatoly Burakov
>From coverity's point of view, it is theoretically possible to have an infinite wait on a wait condition because while we do check for timeout, we do not check for whether the event we are waiting for has already occurred by the time we get to the first cond_wait call (in this case, it's state of