#include <G4Threading.hh>
Definition at line 215 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 226 of file G4Threading.hh.
227 {
228 func(std::forward<_Args>(_args)...);
229 }
◆ detach()
void G4DummyThread::detach |
( |
| ) |
|
|
inline |
◆ get_id()
id G4DummyThread::get_id |
( |
| ) |
const |
|
inlinenoexcept |
Definition at line 234 of file G4Threading.hh.
234{ return std::this_thread::get_id(); }
◆ hardware_concurrency()
static unsigned int G4DummyThread::hardware_concurrency |
( |
| ) |
|
|
inlinestaticnoexcept |
Definition at line 240 of file G4Threading.hh.
241 {
242 return std::thread::hardware_concurrency();
243 }
◆ 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: