Created attachment 9317 [details]
Simple test that shows the problem
Please run attached program. It will hang on barrier.AddParticipant(). The point is that CountdownEvent used underneath will return false when the counter was zero and that's the case here. One of the possible solutions could be to use CountdownEvent.AddCount instead of TryAddCount, I'm sure why the latter was used there.
Fixed in master