Add t to the list of tracked threads if it is not already being tracked.
Creates and starts a new Thread object that executes fn and adds it to the list of tracked threads.
Creates and starts a new Thread object that executes dg and adds it to the list of tracked threads.
Iteratively joins all tracked threads. This function will block add, remove, and opApply until it completes.
Operates on all threads currently tracked by this object.
Removes t from the list of tracked threads. No operation will be performed if t is not currently being tracked by this object.
This class is intended to simplify certain common programming techniques.