Merging r309875:

Description

Merging r309875:


r309875 | jlpeyton | 2017-08-02 13:06:32 -0700 (Wed, 02 Aug 2017) | 11 lines

Move lock acquire/release functions in task deque cleanup code

The original locations can be reached without initializing the lock variable
(td_deque_lock), so it is potentially unsafe. It is guaranteed that the lock
is initialized if the deque (td_deque) is not NULL, and lock functions can be
safely called.

Patch by Hansang Bae

Differential Revision: https://reviews.llvm.org/D36017


Details

Committed
tstellarTue, Nov 14, 11:11 AM
Differential Revision
D36017: Move lock acquire/release functions to safer locations in task deque cleanup code
Parents
rL318170: Adjust test after r318159
Branches
Unknown
Tags
Unknown