Fix on-demand initialization race conditions [marshal-ilgen.c] (#18160)
commitd2539babf4120cc206a62825d4055f688a849169
authorJay Krell <jaykrell@microsoft.com>
Fri, 13 Dec 2019 16:30:08 +0000 (13 08:30 -0800)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 13 Dec 2019 16:30:08 +0000 (13 17:30 +0100)
tree3776086cbc1a66280979a8ebe7341bb8e735c30d
parentb637c1db670c0d7355ae4f43f2e4ea1d0b162434
Fix on-demand initialization race conditions [marshal-ilgen.c] (#18160)

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

* PR: Feedback more MONO_STATIC_POINTER_INIT instead of manual mono_atomic_store_seq.

* PR feedback: Narrow scope of from_oadate.

* One more MONO_STATIC_POINTER_INIT vs. mono_atomic_store_seq post-review.

* Repair whitespace.

* Alternate formating.