What is the difference between critical section, mutex and semaphore ? Explain synchronization methods in win32 / MFC.

1 comment:

vcprofessional said...

1. Critical section – used for synchronizing threads from same process

2. Mutexes – used for synchronizing threads across different process.

3. Semaphore – maintains resource counting against number of processes using them.

4. Events - State signaling , set or reset state.