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

◆ JoinThreads()

bool drama::thread::KickNotifier::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 joins the action thread itself only (if that has not yet been joined) A subclass may need to override this to join any other threads it has created and not yet joined or detached

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.