From: Stanislaw Kardach
pthread_cond_timedwait() may spuriously wakeup according to POSIX.
Therefore it is required to check whether predicate is actually true
before finishing the waiting loop.
Signed-off-by: Stanislaw Kardach
Reviewed-by: Michal Krawczyk
Reviewed-by: Igor Chauskin
Reviewed-
On 5/6/2021 3:25 PM, Michal Krawczyk wrote:
> From: Stanislaw Kardach
>
> pthread_cond_timedwait() may spuriously wakeup according to POSIX.
> Therefore it is required to check whether predicate is actually true
> before finishing the waiting loop.
>
> Signed-off-by: Stanislaw Kardach
> Reviewe
2 matches
Mail list logo