CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::ThreadInformationInterface Struct Reference

Provides information on threads. More...

#include <threadInformationInterface.hpp>

Inheritance diagram for codi::ThreadInformationInterface:

Static Public Member Functions

static int getMaxThreads ()
 Provides an upper bound on the number of threads.
 
static int getThreadId ()
 Returns the id of the calling thread.
 

Detailed Description

Provides information on threads.

Member Function Documentation

◆ getThreadId()

static int codi::ThreadInformationInterface::getThreadId ( )
inlinestatic

Returns the id of the calling thread.

Thread ids are integers 0, 1, ..., maximum number of threads - 1.


The documentation for this struct was generated from the following file: