#include <G4Threading.hh>
Definition at line 199 of file G4Threading.hh.
◆ id
◆ native_handle_type
◆ G4DummyThread() [1/2]
G4DummyThread::G4DummyThread |
( |
| ) |
|
|
inline |
◆ G4DummyThread() [2/2]
template<typename _Func , typename... _Args>
G4DummyThread::G4DummyThread |
( |
_Func | func, |
|
|
_Args &&... | _args ) |
|
inline |
Definition at line 210 of file G4Threading.hh.
211 {
212 func(std::forward<_Args>(_args)...);
213 }
◆ detach()
void G4DummyThread::detach |
( |
| ) |
|
|
inline |
◆ get_id()
id G4DummyThread::get_id |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 218 of file G4Threading.hh.
218{ return std::this_thread::get_id(); }
◆ hardware_concurrency()
static unsigned int G4DummyThread::hardware_concurrency |
( |
| ) |
|
|
inlinestaticnoexcept |
Definition at line 224 of file G4Threading.hh.
225 {
226 return std::thread::hardware_concurrency();
227 }
◆ join()
void G4DummyThread::join |
( |
| ) |
|
|
inline |
◆ joinable()
G4bool G4DummyThread::joinable |
( |
| ) |
const |
|
inline |
◆ native_handle()
◆ swap()
The documentation for this class was generated from the following file: