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

◆ SeparateThreadRunsDrama()

void drama::Task::SeparateThreadRunsDrama ( )
inlineinherited

Tell the task we are expecting a separate thread to run the DRAMA message loop.

DRAMA normally complains if the thread that created the DRAMA task is not the one the invoked RunDrama(), since the coding is harder to get right.

But if you invoked this method before you invoked RunDrama, then it is presumed you know what you are doing and no warning is output.