Fix on-demand initialization race conditions [sre.c]. (mono/mono#18164)
authorJay Krell <jaykrell@microsoft.com>
Thu, 12 Dec 2019 22:55:33 +0000 (14:55 -0800)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 12 Dec 2019 22:55:33 +0000 (23:55 +0100)
commitdc29d6c4b60812cbc57ce9794e57187e0ecf2b21
tree6525d03df8f6e2d0449cb66e4ff60c021c8598dd
parent1aa9738fcd964c6b5900523ea0454e4706654420
Fix on-demand initialization race conditions [sre.c]. (mono/mono#18164)

Fix on-demand initialization race conditions [sre.c].

Extracted from https://github.com/mono/mono/pull/18150 which reviewer said was too big.

Commit migrated from https://github.com/mono/mono/commit/620d7cf84d026417c0390bcef0b50acda6e0f40d
src/mono/mono/metadata/sre.c