LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
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 218 of file thread.h.

Constructor & Destructor Documentation

◆ thread() [1/5]

llvm::thread::thread ( )
inline

Definition at line 219 of file thread.h.

◆ thread() [2/5]

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

Definition at line 220 of file thread.h.

◆ thread() [3/5]

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

Definition at line 222 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 227 of file thread.h.

References args.

◆ thread() [5/5]

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

Member Function Documentation

◆ detach()

void llvm::thread::detach ( )
inline

Definition at line 232 of file thread.h.

References llvm::report_fatal_error().

◆ hardware_concurrency()

static unsigned llvm::thread::hardware_concurrency ( )
inlinestatic

Definition at line 237 of file thread.h.

◆ join()

void llvm::thread::join ( )
inline

Definition at line 236 of file thread.h.


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