<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>sc::PumaThreadGrp class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Generated by Doxygen 1.2.5 on Mon Oct 14 14:17:28 2002 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center> <hr><h1>sc::PumaThreadGrp Class Reference</h1>The <a class="el" href="class_sc__PumaThreadGrp.html">PumaThreadGrp</a> class privides a concrete thread group appropriate for the intel teraflops machine. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="thpuma_h-source.html">thpuma.h</a>></code> <p> Inheritance diagram for sc::PumaThreadGrp<p><center><img src="class_sc__PumaThreadGrp_inherit_graph.gif" border="0" usemap="#sc::PumaThreadGrp_inherit_map" alt="Inheritance graph"></center> <map name="sc::PumaThreadGrp_inherit_map"> <area href="class_sc__ThreadGrp.html" shape="rect" coords="29,214,119,233"> <area href="class_sc__DescribedClass.html" shape="rect" coords="17,147,131,166"> <area href="class_sc__RefCount.html" shape="rect" coords="33,81,115,99"> <area href="class_sc__Identity.html" shape="rect" coords="38,14,110,33"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for sc::PumaThreadGrp:<p><center><img src="class_sc__PumaThreadGrp_coll_graph.gif" border="0" usemap="#sc::PumaThreadGrp_coll_map" alt="Collaboration graph"></center> <map name="sc::PumaThreadGrp_coll_map"> <area href="class_sc__ThreadGrp.html" shape="rect" coords="110,235,201,254"> <area href="class_sc__DescribedClass.html" shape="rect" coords="14,153,129,171"> <area href="class_sc__RefCount.html" shape="rect" coords="30,83,113,102"> <area href="class_sc__Identity.html" shape="rect" coords="35,14,107,33"> <area href="class_sc__Thread.html" shape="rect" coords="153,153,222,171"> </map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_sc__PumaThreadGrp-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top><a name="a0" doxytag="sc::PumaThreadGrp::PumaThreadGrp"></a> </td><td valign=bottom><b>PumaThreadGrp</b> ()</td></tr> <tr><td nowrap align=right valign=top><a name="a1" doxytag="sc::PumaThreadGrp::PumaThreadGrp"></a> </td><td valign=bottom><b>PumaThreadGrp</b> (const <a class="el" href="class_sc__Ref.html">Ref</a>< <a class="el" href="class_sc__KeyVal.html">KeyVal</a> > &)</td></tr> <tr><td nowrap align=right valign=top><a name="a2" doxytag="sc::PumaThreadGrp::~PumaThreadGrp"></a> </td><td valign=bottom><b>~PumaThreadGrp</b> ()</td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__PumaThreadGrp.html#a3">start_threads</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Starts the threads running.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="class_sc__PumaThreadGrp.html#a4">wait_threads</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Wait for all the threads to complete.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> <tr><td nowrap align=right valign=top><a name="a5" doxytag="sc::PumaThreadGrp::new_lock"></a> <a class="el" href="class_sc__Ref.html">Ref</a><<a class="el" href="class_sc__ThreadLock.html">ThreadLock</a>> </td><td valign=bottom><a class="el" href="class_sc__PumaThreadGrp.html#a5">new_lock</a> ()</td></tr> <tr><td> </td><td><font size=-1><em>Return a local object.</em></font><br><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> The <a class="el" href="class_sc__PumaThreadGrp.html">PumaThreadGrp</a> class privides a concrete thread group appropriate for the intel teraflops machine. <p> <hr><h2>Member Function Documentation</h2> <a name="a3" doxytag="sc::PumaThreadGrp::start_threads"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int sc::PumaThreadGrp::start_threads ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Starts the threads running. <p> <a class="el" href="class_sc__Thread.html">Thread</a> 0 will be run by the thread that calls start_threads. <p> Reimplemented from <a class="el" href="class_sc__ThreadGrp.html#a8">sc::ThreadGrp</a>. </td> </tr> </table> <a name="a4" doxytag="sc::PumaThreadGrp::wait_threads"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td nowrap valign="top"><b> int sc::PumaThreadGrp::wait_threads ( </b></td> <td valign="bottom"><b> )<code> [virtual]</code> </b></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Wait for all the threads to complete. <p> This must be called before start_threads is called again or the object is destroyed. <p> Reimplemented from <a class="el" href="class_sc__ThreadGrp.html#a9">sc::ThreadGrp</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="thpuma_h-source.html">thpuma.h</a></ul> <hr> <address> <small> Generated at Mon Oct 14 14:17:29 2002 for <a href="http://aros.ca.sandia.gov/~cljanss/mpqc">MPQC</a> 2.1.2 using the documentation package <a href="http://www.stack.nl/~dimitri/doxygen/index.html">Doxygen</a> 1.2.5. </small> </address> </body> </html>