Home C# How do you implement thread synchronization (Object.Wait, Notify,and CriticalSection) in C#?
How do you implement thread synchronization (Object.Wait, Notify,and CriticalSection) in C#? E-mail
User Rating: / 0
PoorBest 
You want the lock statement, which is the same as Monitor Enter/Exit: lock(obj) { // code } translates to try { CriticalSection.Enter(obj); // code } finally { CriticalSection.Exit(obj); }
Comments
Search
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
 

Related links

Related Links:

Related Images

Related Links: