This is an archive of the discontinued LLVM Phabricator instance.

Minor cleanup in __kmp_atfork_child()
ClosedPublic

Authored by hbae on Mar 27 2018, 12:41 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

hbae created this revision.Mar 27 2018, 12:41 PM
This revision is now accepted and ready to land.Mar 28 2018, 1:11 AM
This revision was automatically updated to reflect the committed changes.