المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Difference between Critical Sections over Mutex objects



C++ Programming
09-13-2011, 12:40 PM
Hi all,

I have seen two difference,

1. Critical Sections are relatively faster than Mutex. That is synchronizing with the same process, is more efficient.
2. Mutex could be used with cross-process thread synchronization.

So I have two questions,

1. Am I correct?
2. Any other points on this?

Your comments are really appreciate.
I appreciate your help all the time...
CodingLover http://www.barakasoft.com/script/Forums/Images/smiley_smile.gif