07.03.2013 Views

Multithreading Multi-Threaded Programming

Multithreading Multi-Threaded Programming

Multithreading Multi-Threaded Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Synchronization Classes<br />

} The multithreaded classes provided with MFC fall into<br />

two categories:<br />

} Synchronization objects derived from CSyncObject(CSyncObject<br />

is never used directly. It is the base class for the other four synchronization<br />

classes):<br />

} CSemaphore,<br />

} CMutex,<br />

} CCriticalSection<br />

} CEvent<br />

} Synchronization access objects<br />

} C<strong>Multi</strong>Lock<br />

} CSingleLock<br />

37<br />

Advanced Windows Network <strong>Programming</strong><br />

11/11/12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!