Geant4
10.03.p03
|
Enumerations | |
enum | { SEQUENTIAL_ID = -2, MASTER_ID = -1, WORKER_ID = 0, GENERICTHREAD_ID = -1000 } |
Functions | |
G4Pid_t | G4GetPidId () |
G4int | G4GetNumberOfCores () |
G4int | G4GetThreadId () |
G4bool | IsWorkerThread () |
G4bool | IsMasterThread () |
void | G4SetThreadId (G4int aNewValue) |
G4bool | G4SetPinAffinity (G4int idx, G4Thread &at) |
void | SetMultithreadedApplication (G4bool value) |
G4bool | IsMultithreadedApplication () |
int | WorkerThreadLeavesPool () |
int | WorkerThreadJoinsPool () |
G4int | GetNumberOfRunningWorkerThreads () |
anonymous enum |
Enumerator | |
---|---|
SEQUENTIAL_ID | |
MASTER_ID | |
WORKER_ID | |
GENERICTHREAD_ID |
Definition at line 198 of file G4Threading.hh.
G4int G4Threading::G4GetNumberOfCores | ( | ) |
G4Pid_t G4Threading::G4GetPidId | ( | ) |
Definition at line 134 of file G4Threading.cc.
G4int G4Threading::G4GetThreadId | ( | ) |
Definition at line 144 of file G4Threading.cc.
G4int G4Threading::GetNumberOfRunningWorkerThreads | ( | ) |
Definition at line 155 of file G4Threading.cc.
G4bool G4Threading::IsMasterThread | ( | ) |
G4bool G4Threading::IsMultithreadedApplication | ( | ) |
G4bool G4Threading::IsWorkerThread | ( | ) |
int G4Threading::WorkerThreadJoinsPool | ( | ) |
int G4Threading::WorkerThreadLeavesPool | ( | ) |