llvm-project/openmp/runtime/src
Jonathan Peyton 1e6bb8d5de Minor cleanup in __kmp_atfork_child()
This change removes the unnecessary lock operation on __kmp_initz_lock inside
the __kmp_atfork_child() function for Linux; the lock variable is initialized
in the same function later.

Patch by Hansang Bae

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

llvm-svn: 328900
2018-03-30 19:55:11 +00:00
..
i18n Fix trademarks found by scanner 2018-01-04 22:56:47 +00:00
include [OMPT] Rename ompt_mutex_impl_t to kmp_mutex_impl 2018-01-17 10:06:01 +00:00
thirdparty/ittnotify OpenMP RTL cleanup: eliminated warnings with -Wcast-qual, patch 2. 2017-07-17 09:03:14 +00:00
CMakeLists.txt [CMake] Refactor common settings and flags 2017-11-29 19:31:48 +00:00
dllexports Read OMP_TARGET_OFFLOAD and provide API to access ICV 2018-03-20 21:18:17 +00:00
exports_so.txt Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6) 2017-11-05 14:11:19 +00:00
extractExternal.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp.h Read OMP_TARGET_OFFLOAD and provide API to access ICV 2018-03-20 21:18:17 +00:00
kmp_affinity.cpp [AArch64] fix an issue with older /proc/cpuinfo layout 2017-12-13 16:12:24 +00:00
kmp_affinity.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_alloc.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_atomic.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_atomic.h [OMPT] Rename ompt_mutex_impl_t to kmp_mutex_impl 2018-01-17 10:06:01 +00:00
kmp_barrier.cpp [OMPT] Fix parallel_data in implicit barrier-end 2018-02-23 16:46:25 +00:00
kmp_cancel.cpp Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
kmp_config.h.cmake Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
kmp_csupport.cpp Fixed __kmpc_get_target_offload() to call library initialization. 2018-03-22 18:51:51 +00:00
kmp_debug.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_debug.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_debugger.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_debugger.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_dispatch.cpp Fix some comments and formatting in kmp_dispatch.cpp 2018-01-04 23:05:26 +00:00
kmp_environment.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_environment.h Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
kmp_error.cpp Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
kmp_error.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_ftn_cdecl.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_ftn_entry.h [OMPT] Omissionin in OMPT Formatting 2018-02-17 09:54:10 +00:00
kmp_ftn_extra.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_ftn_os.h Cleanup version symbol macros and attributes/declspecs 2017-11-07 23:32:13 +00:00
kmp_ftn_stdcall.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_global.cpp Read OMP_TARGET_OFFLOAD and provide API to access ICV 2018-03-20 21:18:17 +00:00
kmp_gsupport.cpp [OMPT] Omissionin in OMPT Formatting 2018-02-17 09:54:10 +00:00
kmp_i18n.cpp [OMPT] Omissionin in OMPT Formatting 2018-02-17 09:54:10 +00:00
kmp_i18n.h Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
kmp_import.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_io.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_io.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_itt.cpp Improve stability of the runtime in parent/child processes 2018-01-10 18:21:48 +00:00
kmp_itt.h Improve stability of the runtime in parent/child processes 2018-01-10 18:21:48 +00:00
kmp_itt.inl Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
kmp_lock.cpp Add missing memory barrier for queuing locks 2017-12-08 15:07:02 +00:00
kmp_lock.h Minor code cleanup 2018-01-10 18:24:09 +00:00
kmp_omp.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_os.h Fix thread affinity on non-x86 Linux 2017-12-08 15:07:05 +00:00
kmp_platform.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_runtime.cpp Fix for Fix for https://bugs.llvm.org/show_bug.cgi?id=36705. 2018-03-19 18:05:15 +00:00
kmp_safe_c_api.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_sched.cpp [OMPT] Fix assertion for OpenMP code generated with outdated compilers 2017-11-10 21:07:01 +00:00
kmp_settings.cpp Move blocktime_str variable right before its first use 2018-03-26 19:20:50 +00:00
kmp_settings.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_stats.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_stats.h Cleanup version symbol macros and attributes/declspecs 2017-11-07 23:32:13 +00:00
kmp_stats_timing.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_stats_timing.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_str.cpp Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
kmp_str.h Remove const from variables with dynamic memory 2017-11-09 15:52:25 +00:00
kmp_stub.cpp Fixed build of the OpenMP stubs library. 2018-03-05 18:01:47 +00:00
kmp_stub.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_taskdeps.cpp [OMPT] Omissionin in OMPT Formatting 2018-02-17 09:54:10 +00:00
kmp_tasking.cpp Minor code cleanup 2018-01-10 18:24:09 +00:00
kmp_taskq.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_threadprivate.cpp Improve OpenMP threadprivate implementation. 2018-03-05 18:42:01 +00:00
kmp_utility.cpp Add const to some variables to avoid const_casts 2017-11-09 15:52:29 +00:00
kmp_version.cpp Fix trademarks found by scanner 2018-01-04 22:56:47 +00:00
kmp_version.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_wait_release.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_wait_release.h Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
kmp_wrapper_getpid.h Apply formatting changes 2017-10-20 19:30:57 +00:00
kmp_wrapper_malloc.h Apply formatting changes 2017-10-20 19:30:57 +00:00
libomp.rc.var [OpenMP] [CMake] Removing expand-vars.pl in favor of CMake's configure_file() 2015-08-28 18:42:10 +00:00
ompt-event-specific.h Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6) 2017-11-05 14:11:19 +00:00
ompt-general.cpp [OMPT] Omissionin in OMPT Formatting 2018-02-17 09:54:10 +00:00
ompt-internal.h Revert "Updating implementation of OMPT as specified in OpenMP 5.0 Preview 2 (TR6)" 2017-11-03 18:28:19 +00:00
ompt-specific.cpp [OMPT] Fix ompt_get_task_info() and add tests for it 2018-02-28 17:36:18 +00:00
ompt-specific.h Update implementation of OMPT to the specification OpenMP 5.0 Preview 1 (TR4). 2017-11-01 10:08:30 +00:00
test-touch.c
tsan_annotations.cpp Clang-format and whitespace cleanup of source code 2017-05-12 18:01:32 +00:00
tsan_annotations.h Clang-format and whitespace cleanup of source code 2017-05-12 18:01:32 +00:00
z_Linux_asm.S Rename z_Linux_asm.s to z_Linux_asm.S 2017-07-11 18:04:56 +00:00
z_Linux_util.cpp Minor cleanup in __kmp_atfork_child() 2018-03-30 19:55:11 +00:00
z_Windows_NT-586_asm.asm Clang-format and whitespace cleanup of source code 2017-05-12 18:01:32 +00:00
z_Windows_NT-586_util.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00
z_Windows_NT_util.cpp Apply formatting changes 2017-10-20 19:30:57 +00:00