Fix robust mutex daedlock [BZ #20263]
commitd3016ce02c7ba85c1c619771bb1aa349038626cd
authorJiyoung Yun <t2wish@gmail.com>
Wed, 29 Jun 2016 16:15:44 +0000 (30 01:15 +0900)
committerAndreas Schwab <schwab@suse.de>
Thu, 7 Jul 2016 12:33:32 +0000 (7 14:33 +0200)
tree4568321e44b23afe3ff558026ce9eef00124fb58
parent318132f4d41a5742c37d37d67529c24d28797d8a
Fix robust mutex daedlock [BZ #20263]

In Linux/ARM environment, a robust mutex can't catch the timeout result
when it is already owned by other thread and requests to try lock with
a specific time value(pthread_mutex_timedlock). The futex already returns
the ETIMEDOUT result but there is no check the return value and it makes
a deadlock.

* nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
ChangeLog
nptl/lowlevelrobustlock.c