Fix on-demand initialization race conditions [threadpool.c]. (#18165)
commitf96ba075a1f1712c1c34e126870f9df89852ce3c
authorJay Krell <jaykrell@microsoft.com>
Thu, 12 Dec 2019 22:46:06 +0000 (12 14:46 -0800)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 12 Dec 2019 22:46:06 +0000 (12 23:46 +0100)
treed57d62a72bdae366d4ac6deaf8c974f7045fc22a
parent88dde8b7634094bd24c9f32ac894912e4d073b9f
Fix on-demand initialization race conditions [threadpool.c]. (#18165)

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

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