#include <mxmSynchronizationFactoryInterface.h>
Inheritance diagram for mxmSynchronizationFactoryInterface:
Public Member Functions | |
virtual mxmLockInterface * | newLock ()=0 |
Creates a new lock. | |
virtual mxmConditionVariableInterface * | newConditionVariable (mxmLockInterface *associated_lock)=0 |
Creates a new condition variable - the condition variable does not assume ownership over the lock. |
Synchronisation factories are by definition thread safe, and - if necessary - protected by the same flavor of primitives as those they generate.
[khe]
Kai Hergenroether
|
Creates a new condition variable - the condition variable does not assume ownership over the lock. The associated lock must be guaranteed to be still alive at the time the condition variable dies. The associated lock must be of compatible type. Implemented in mxmDefaultSynchronizationFactory. |