LLVM 22.0.0git
llvm::thread Struct Reference

#include "llvm/Support/thread.h"

Public Member Functions

 thread ()
 thread (thread &&other)
template<class Function, class... Args>
 thread (std::optional< unsigned > StackSizeInBytes, Function &&f, Args &&...args)
template<class Function, class... Args>
 thread (Function &&f, Args &&...args)
 thread (const thread &)=delete
void detach ()
void join ()

Static Public Member Functions

static unsigned hardware_concurrency ()

Detailed Description

Definition at line 222 of file thread.h.

Constructor & Destructor Documentation

◆ thread() [1/5]

llvm::thread::thread ( )
inline

Definition at line 223 of file thread.h.

Referenced by thread(), and thread().

◆ thread() [2/5]

llvm::thread::thread ( thread && other)
inline

Definition at line 224 of file thread.h.

References thread().

◆ thread() [3/5]

template<class Function, class... Args>
llvm::thread::thread ( std::optional< unsigned > StackSizeInBytes,
Function && f,
Args &&... args )
inlineexplicit

Definition at line 226 of file thread.h.

References args.

◆ thread() [4/5]

template<class Function, class... Args>
llvm::thread::thread ( Function && f,
Args &&... args )
inlineexplicit

Definition at line 231 of file thread.h.

References args.

◆ thread() [5/5]

llvm::thread::thread ( const thread & )
delete

References thread().

Member Function Documentation

◆ detach()

void llvm::thread::detach ( )
inline

Definition at line 236 of file thread.h.

References llvm::report_fatal_error().

◆ hardware_concurrency()

unsigned llvm::thread::hardware_concurrency ( )
inlinestatic

Definition at line 241 of file thread.h.

◆ join()

void llvm::thread::join ( )
inline

Definition at line 240 of file thread.h.


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