Fix on-demand initialization race conditions [marshal.c]. (mono/mono#18169)
authorJay Krell <jaykrell@microsoft.com>
Fri, 13 Dec 2019 18:57:17 +0000 (10:57 -0800)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 13 Dec 2019 18:57:17 +0000 (19:57 +0100)
commit576fd1c7a564a4124728f94394ab9aa555595c23
tree32cb5ee44ee207fd05e874cf12ca91487cb25406
parentb1a0dd878ba35f684478e2400047c8b70996b04f
Fix on-demand initialization race conditions [marshal.c]. (mono/mono#18169)

* Fix on-demand initialization race conditions [marshal.c].

* PR feedback: fix incorrect merge

Commit migrated from https://github.com/mono/mono/commit/2eca6a1e37b7a802630bf77ba592321dddf82c72
src/mono/mono/metadata/marshal.c