Waitforsingleobject thread exit July 8, 2019 16 32 64 128 Waitforsingleobject wait for thread exit Thread safe c#