-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid cross thread access of thread local in parallel join build (#11402
) Summary: parallel building threads in parallel join are accessing the main driver thread's thread local variable. The cross thread access of thread local variable can create undefined behavior. Instead of capturing the thread local, we capture the driver context directly to avoid this. Pull Request resolved: #11402 Reviewed By: bikramSingh91 Differential Revision: D65308117 Pulled By: tanjialiang fbshipit-source-id: be428f4967052b7240d5af6a0f550d5cd87d574a
- Loading branch information
1 parent
ee8a683
commit 7b2bb7f
Showing
4 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters