CoDiPack  3.0.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 inlineint getMaxThreads ()
 Provides an upper bound on the number of threads.
 
static inlineint getThreadId ()
 Returns the id of the calling thread.
 

Detailed Description

Provides information on threads.

Member Function Documentation

◆ getThreadId()

static inlineint codi::ThreadInformationInterface::getThreadId ( )
static

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: