Introduction - If you have any usage issues, please Google them yourself
This example illustrates how to use the Monitor class to synchronize threads. Monitor types of static function used to force the implementation of each block of code protected the right of exclusive access.
Packet : 75448175monitor.zip filelist
CS/
CS/MonitorSynchronization/
CS/MonitorSynchronizationCS.sln
CS/MonitorSynchronization/AssemblyInfo.cs
CS/MonitorSynchronization/Monitor.cs
CS/MonitorSynchronization/MonitorSynchronizationCS.csproj
VB/
VB/MonitorSynchronization/
VB/MonitorSynchronizationVB.sln
VB/MonitorSynchronization/AssemblyInfo.vb
VB/MonitorSynchronization/Monitor.vb
VB/MonitorSynchronization/MonitorSynchronizationVB.vbproj