This is an archive of the discontinued LLVM Phabricator instance.

[Target] Protect Processes' language runtimes map with a mutex
ClosedPublic

Authored by xiaobai on May 20 2019, 7:18 PM.

Event Timeline

xiaobai created this revision.May 20 2019, 7:18 PM

I would use a lock_guard + lexical scope instead of locking/unlocking. Is there a reason not to here?

I would use a lock_guard + lexical scope instead of locking/unlocking. Is there a reason not to here?

Ah, no, just not something I thought about when I wrote this. I'll do that, thanks!

xiaobai updated this revision to Diff 200636.May 21 2019, 8:44 PM

Address feedback from Jonas

This revision is now accepted and ready to land.May 22 2019, 1:16 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMay 22 2019, 3:58 PM