28 #ifndef _util_group_thpthd_h
29 #define _util_group_thpthd_h
32 #include <util/group/thread.h>
41 pthread_attr_t *attr_;
44 void init_priority(
int,
int);
void add_thread(int i, Thread *t)
Assigns a Thread object to each thread.
Definition: thpthd.h:53
int start_threads()
Starts the threads running.
A template class that maintains references counts.
Definition: ref.h:361
The Thread abstract class defines an interface which must be implemented by classes wishing to be run...
Definition: thread.h:75
virtual void add_thread(int threadnum, Thread *thread)
Assigns a Thread object to each thread.
Ref< ThreadLock > new_lock()
Return a local object.
int nthread() const
The number of threads that will be run by start_thread.
Definition: thread.h:107
The ThreadGrp abstract class provides a means to manage separate threads of control.
Definition: thread.h:88
int wait_threads()
Wait for all the threads to complete.
ThreadGrp * clone(int nthread=-1)
Create a ThreadGrp like the current one.
The PthreadThreadGrp class privides a concrete thread group appropriate for an environment where pthr...
Definition: thpthd.h:38
Contains all MPQC code up to version 3.
Definition: mpqcin.h:14
Generated at Sun Jan 26 2020 23:24:01 for MPQC
3.0.0-alpha using the documentation package Doxygen
1.8.16.