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

◆ GetTaskRunThreadId()

std::thread::id drama::Task::GetTaskRunThreadId ( ) const
inlineinherited

Return the thread ID of the thread running RunDrama()

It is normal that GetTaskCreThreadId() is the same as the value returned by this, but it is not always the case (where the application programmer has decided to run DRAMA in a different thread from which they created the DRAMA task.)

Returns
Return the thread id for the thread which has invoked RunDrama().