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

◆ GetTaskCreThreadId()

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

Return the thread ID of the thread on which the Task object was created.

It is normal that GetTaskRunThreadId() 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
The thread id as per creation of the Task object.