The implementation shown there isn't thread-safe. Even its *attempt* to
be thread-safe is completely broken due to it creating a *new* Mutex
each time rather than using a single one. Normally you'd use lock (i.e.
Monitor.Enter/Exit) rather than a Mutex here, which reduces it to
merely being broken in a different way.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.