13.07.2015 Views

Multithreading - Poco

Multithreading - Poco

Multithreading - Poco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The ScopedLock Class Template> In POCO, the Scoped Lock is implemented by the<strong>Poco</strong>::ScopedLock class template.> #include "<strong>Poco</strong>/ScopedLock.h"> <strong>Poco</strong>::ScopedLock can be instantiated for every class thatsupports lock() and unlock() member functions.> Both Mutex and FastMutex provide typedefs for correspondingScopedLock instantiations:Mutex::ScopedLock and FastMutex::ScopedLock.

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

Saved successfully!

Ooh no, something went wrong!