]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #81850 - the8472:env-rwlock, r=m-ou-se
authorDylan DPC <dylan.dpc@gmail.com>
Fri, 12 Feb 2021 21:53:33 +0000 (22:53 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Feb 2021 21:53:33 +0000 (22:53 +0100)
commit354f19cf2475148994954b6783341620c7445071
treedfeccba709d7f160cf81601bd8acbad1e645a384
parent0cfba2fd090834c909d5ed9deccdee8170da791b
parent4fc181dd62f38c7b424e5261756a2f01ded68a5b
Rollup merge of #81850 - the8472:env-rwlock, r=m-ou-se

use RWlock when accessing os::env

Multiple threads modifying the current process environment is fairly uncommon. Optimize for the more common read case.

r? ````@m-ou-se````