Merging r316452:

Description

Merging r316452:


r316452 | jlpeyton | 2017-10-24 09:10:09 -0700 (Tue, 24 Oct 2017) | 9 lines

Disable threadprivate data cleanup if runtime is terminating

The problem is due to the runtime's threadprivate cleanup code which tries to
access data that was already destroyed by one of the root threads.
kmp_init_gtid is used as a checker here since it is set to false before actual
resource cleanup is done in
kmp_cleanup().

Patch by Hansang Bae


Details

Committed
tstellarTue, Nov 14, 11:19 AM
Parents
rL318175: Merging r311269:
Branches
Unknown
Tags
Unknown