aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/redo.py
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-01-10 18:21:48 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-01-10 18:21:48 +0000
commiteaa9e40c9ae09d3b85e0cbf2035a6ad0cd27cdcd (patch)
tree26bb1581d6cf3858700423ecb773c7867632bffc /lldb/packages/Python/lldbsuite/test/redo.py
parent4566d827a1e9a01df51f9b6539b89d0851e98a00 (diff)
downloadllvm-eaa9e40c9ae09d3b85e0cbf2035a6ad0cd27cdcd.zip
llvm-eaa9e40c9ae09d3b85e0cbf2035a6ad0cd27cdcd.tar.gz
llvm-eaa9e40c9ae09d3b85e0cbf2035a6ad0cd27cdcd.tar.bz2
Improve stability of the runtime in parent/child processes
This change improves stability of the runtime when the application forks child processes. Acquiring/releasing __kmp_initz_lock and __kmp_forkjoin_lock in the atfork handlers insures that the actual fork does not occur while those two locks are held, and __kmp_itt_reset() reverts the itt's global state to the initial state which also initializes the mutex stored in the global state. Some missing initialization code was also inserted in the child's atfork handler. Patch by Hansang Bae Differential Revision: https://reviews.llvm.org/D41462 llvm-svn: 322202
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/redo.py')
0 files changed, 0 insertions, 0 deletions