Semaphores, Critical section, Mutex Examples in MFC & C#
can any one tell me or give me a link saying about detailed description of Critical secti开发者_高级运维on, Mutex,semaphores with some sample example of how to use them in MFC & C#
I might explain but documentation on MSDN is already pretty excellent. Consider visiting Following Links.
Here is the link to Semaphores in C# with Example
-- http://msdn.microsoft.com/en-us/library/system.threading.semaphore.aspx
Mutex and Locks
-- http://msdn.microsoft.com/en-us/library/aa645740%28v=vs.71%29.aspx
CMutex synchronization in MFC 
-- http://msdn.microsoft.com/en-us/library/ms386471%28v=vs.71%29.aspx
Critical Section MFC
-- http://msdn.microsoft.com/en-us/library/ms682530%28v=vs.85%29.aspx
Hope these help
Also consider "Visual C++ 6 Unleashed," full text availabe at InformIT (link to the multithreading section). Even if you're on a newer version, most of the information in this book is applicable and valuable.
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论