In addition to Ken's information you may find the Mutex useful.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"Sid Price" <no****@nowhere.com> wrote in message
news:u5**************@tk2msftngp13.phx.gbl...
I have a multi-threaded VB.NET application and I need to be able to access
a shared set of variables from multiple threads. In CE.NET there are
objects called critical section objects that a thread can acquire on entry
to a section manipulating such variables and release when done. Any other
thread trying to acquire the same object will suspend until the object is
released.
Is there such a mechanism in VB.NET please?
Thanks,
Sid.
--
Sid Price's Software Tools.
http://www.Softtools.com