Eingesetzt habe ich die Boost 1.58 (Stand 18.06.2015).
<presource lang="cpp">
boost::interprocess::interprocess_mutex MyMutex;
boost::interprocess::interprocess_condition MyCondition;
boost::interprocess::interprocess_semaphore MySemaphore;
</presource>
Dabei habe ich komplette Funktionen mittels scoped_lock gesperrt:
<presource lang="cpp">
boost::interprocess::scoped_lock<boost::interprocess::interprocess_recursive_mutex> lock(reentrant_block);
</presource>
Desweiteren habe ich Signale für bestimmte Aktionen über die Condition ausgelösst:
<presource lang="cpp">
void func1()
{
...
}
</presource>
== Ergebnis Boost 1.58==
Änderungen – Software Entwicklung Projekte

Änderungen