Skip to content
Commit 0ec27673 authored by H.J. Lu's avatar H.J. Lu Committed by Sunil K Pandey
Browse files

Avoid extra load with CAS in __pthread_mutex_clocklock_common [BZ #28537]



Replace boolean CAS with value CAS to avoid the extra load.

Reviewed-by: default avatarSzabolcs Nagy <szabolcs.nagy@arm.com>
(cherry picked from commit 49302b8f)
parent f5a70409
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment