---
name: "sc_PumaThreadGrp"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_PumaThreadGrp"
---

# sc\_PumaThreadGrp(3)

The PumaThreadGrp class privides a concrete thread group appropriate for the intel teraflops machine.

## NAME

sc::PumaThreadGrp - The **PumaThreadGrp** class privides a concrete thread group appropriate for the intel teraflops machine.

## SYNOPSIS

`#include <thpuma.h>`

Inherits **sc::ThreadGrp**.

### Public Member Functions

**PumaThreadGrp** (const **Ref**\< **KeyVal** \> &)\
 int **start\_threads** ()\
 Starts the threads running.  int **wait\_threads** ()\
 Wait for all the threads to complete.  **Ref**\< **ThreadLock** \> **new\_lock** ()\
 Return a local object.

### Additional Inherited Members

## Detailed Description

The **PumaThreadGrp** class privides a concrete thread group appropriate for the intel teraflops machine.

## Member Function Documentation

### Ref\< ThreadLock \> sc::PumaThreadGrp::new\_lock ()` [virtual]`

Return a local object.

Implements **sc::ThreadGrp**.

### int sc::PumaThreadGrp::start\_threads ()` [virtual]`

Starts the threads running. **Thread** 0 will be run by the thread that calls start\_threads.

Implements **sc::ThreadGrp**.

### int sc::PumaThreadGrp::wait\_threads ()` [virtual]`

Wait for all the threads to complete. This must be called before start\_threads is called again or the object is destroyed.

Implements **sc::ThreadGrp**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
