Tag: monitor lock

What is C# monitor class? Explain monitor pulse wait by example

Answer includes C# monitor class with program example in threaded program and its pulse wait method. Monitor class in C# multi-threaded program is used to synchronize the shared resources i.e. file IO, shared data and memory etc. among threads. Monitor class is available in namespace System.Threading. Besides synchronization mechanism, Monitor class also provides wait (),…

Read the full article