[Openmp-commits] [PATCH] D44949: Minor cleanup in __kmp_atfork_child()
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Mar 30 12:58:38 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL328900: Minor cleanup in __kmp_atfork_child() (authored by jlpeyton, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D44949?vs=139982&id=140477#toc
Repository:
rL LLVM
https://reviews.llvm.org/D44949
Files:
openmp/trunk/runtime/src/z_Linux_util.cpp
Index: openmp/trunk/runtime/src/z_Linux_util.cpp
===================================================================
--- openmp/trunk/runtime/src/z_Linux_util.cpp
+++ openmp/trunk/runtime/src/z_Linux_util.cpp
@@ -1267,7 +1267,6 @@
clean data structures in initial states. Don't worry about freeing memory
allocated by parent, just abandon it to be safe. */
static void __kmp_atfork_child(void) {
- __kmp_release_bootstrap_lock(&__kmp_initz_lock);
__kmp_release_bootstrap_lock(&__kmp_forkjoin_lock);
/* TODO make sure this is done right for nested/sibling */
// ATT: Memory leaks are here? TODO: Check it and fix.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44949.140477.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180330/f2f86066/attachment.bin>
More information about the Openmp-commits
mailing list