A mutex (mutual exclusion) is used to ensure a block of code can only be executed by one thread at a time.

 

References

http://stackoverflow.com/questions/5754879/usage-of-mutex-in-c-sharp

Advertisements