#include <thpuma.h>
Inheritance diagram for PumaThreadGrp
Public Methods | |
PumaThreadGrp () | |
PumaThreadGrp (const Ref< KeyVal > &) | |
~PumaThreadGrp () | |
int | start_threads () |
Starts the threads running. More... | |
int | wait_threads () |
Wait for all the threads to complete. More... | |
Ref<ThreadLock> | new_lock () |
Return a local object. |
|
Starts the threads running. Thread 0 will be run by the thread that calls start_threads. Reimplemented from ThreadGrp. |
|
Wait for all the threads to complete. This must be called before start_threads is called again or the object is destroyed. Reimplemented from ThreadGrp. |