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

# sc\_Thread(3)

The Thread abstract class defines an interface which must be implemented by classes wishing to be run as threads.

## NAME

sc::Thread - The **Thread** abstract class defines an interface which must be implemented by classes wishing to be run as threads.

## SYNOPSIS

`#include <thread.h>`

Inherited by **sc::CSGrad34Qbtr**, **sc::CSGradErep12Qtr**, **sc::CSGradS2PDM**, **sc::GBuild\< T \>**, **sc::HSOSV1Erep1Qtr**, **sc::TBGrad\< T \>**, **sc::TwoBodyMOIntsTransform\_123Inds**, **sc::TwoBodyMOIntsTransform\_12Inds**, and **sc::TwoBodyMOIntsTransform\_13Inds**.

### Public Member Functions

virtual void **run** ()=0\
 This is called with the **Thread** is run from a **ThreadGrp**.

### Static Public Member Functions

static void \* **run\_Thread\_run** (void \*thread)\

## Detailed Description

The **Thread** abstract class defines an interface which must be implemented by classes wishing to be run as threads.

## Member Function Documentation

### virtual void sc::Thread::run ()` [pure virtual]`

This is called with the **Thread** is run from a **ThreadGrp**.

Implemented in **sc::CSGrad34Qbtr**, **sc::CSGradErep12Qtr**, **sc::CSGradS2PDM**, **sc::HSOSV1Erep1Qtr**, **sc::TwoBodyMOIntsTransform\_123Inds**, **sc::TwoBodyMOIntsTransform\_12Inds**, **sc::TwoBodyMOIntsTransform\_13Inds**, **sc::LocalGBuild\< T \>**, and **sc::LocalTBGrad\< T \>**.

## Author

Generated automatically by Doxygen for MPQC from the source code.
