AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ AccessDrama() [2/2]

drama::thread::AccessDrama::AccessDrama ( Task::mutexType taskLock)

Takes the DRAMA lock and saves the current context.

This allows the context to be changed before the destructor is run, and then be restored by the destructor.

Parameters
taskLockA reference to the DRAMA lock