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

◆ JoinThreads()

virtual bool drama::thread::TUface::JoinThreads ( std::chrono::steady_clock::time_point  until)
overridevirtual

Invoked when the drama::task::RunDrama() loop exits.

Implements a method required by the RunDramaExitNotifier abstract class, which we sub-class. It provides a chance to join any threads created which have not yet been joined.

Note
The default implementation does nothing since TUface by itself does not deal with the threads.
A sub-class might override this.

DRAMA Lock not taken when invoked.

Parameters
untilThe time point to wait for the join for.
Returns
The number of threads which were notified.

Implements drama::RunDramaExitNotifier.