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.

Mutex> A mutex (mutual exclusion) is a synchronization primitive used tocontrol access to a shared resource in a concurrent scenario.> Mutexes come in two flavors:> recursive: the same mutex can be locked multiple times by thesame thread (but not by other threads)> non-recursive: an attempt to lock an already locked mutex willresult in a deadlock

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

Saved successfully!

Ooh no, something went wrong!