Geant4
10.01.p01
|
Enumerations | |
enum | { SEQUENTIAL_ID = -2, MASTER_ID = -1, WORKER_ID = 0, GENERICTHREAD_ID = -1000 } |
Functions | |
G4Pid_t | G4GetPidId () |
G4int | G4GetNumberOfCores () |
G4int | G4GetThreadId () |
G4bool | IsWorkerThread () |
void | G4SetThreadId (G4int aNewValue) |
G4bool | G4SetPinAffinity (G4int idx, G4Thread &at) |
void | SetMultithreadedApplication (G4bool value) |
G4bool | IsMultithreadedApplication () |
anonymous enum |
Enumerator | |
---|---|
SEQUENTIAL_ID | |
MASTER_ID | |
WORKER_ID | |
GENERICTHREAD_ID |
Definition at line 195 of file G4Threading.hh.
G4int G4Threading::G4GetNumberOfCores | ( | ) |
Definition at line 126 of file G4Threading.cc.
Referenced by G4MTRunManager::G4MTRunManager(), main(), G4RunMessenger::SetNewValue(), and G4MTRunManagerKernel::StartThread().
G4Pid_t G4Threading::G4GetPidId | ( | ) |
Definition at line 117 of file G4Threading.cc.
G4int G4Threading::G4GetThreadId | ( | ) |
Definition at line 127 of file G4Threading.cc.
References SEQUENTIAL_ID.
Referenced by G4UImanager::AddNewCommand(), F04RunAction::BeginOfRunAction(), F04EventAction::EndOfEventAction(), F04RunAction::EndOfRunAction(), G4BaseFileManager::GetFullFileName(), G4BaseFileManager::GetNtupleFileName(), GammaRayTelRunAction::OpenFile(), G4UImanager::RemoveCommand(), G4WorkerRunManager::RunInitialization(), G4ParticleDefinition::SetProcessManager(), XrayTelSteppingAction::UserSteppingAction(), DMXEventAction::writePmtHitsToFile(), and DMXEventAction::writeScintHitsToFile().
Definition at line 131 of file G4Threading.cc.
Referenced by G4MTRunManagerKernel::StartThread().
void G4Threading::G4SetThreadId | ( | G4int | aNewValue | ) |
Definition at line 129 of file G4Threading.cc.
Referenced by tbbTask::execute(), G4UImanager::SetUpForSpecialThread(), and G4MTRunManagerKernel::StartThread().
G4bool G4Threading::IsMultithreadedApplication | ( | ) |
Definition at line 134 of file G4Threading.cc.
Referenced by G4RootAnalysisManager::CloseFileImpl(), G4XmlAnalysisManager::CloseFileImpl(), G4CsvAnalysisManager::CloseFileImpl(), G4XmlNtupleManager::CreateNtuplesFromBooking(), G4CsvNtupleManager::CreateNtuplesFromBooking(), G4TrajectoriesModel::DescribeYourselfTo(), G4DNAChemistryManager::Initialize(), G4ITTrackHolder::Instance(), G4VisCommandSceneAddEventID::EventID::operator()(), G4IonTable::PreloadNuclide(), G4VSceneHandler::ProcessScene(), G4VisCommandSceneEndOfEventAction::SetNewValue(), and G4VisCommandReviewKeptEvents::SetNewValue().
G4bool G4Threading::IsWorkerThread | ( | ) |
Definition at line 128 of file G4Threading.cc.
Referenced by G4VisManager::BeginDraw(), G4VisManager::BeginDraw2D(), G4NeutronHPCapture::BuildPhysicsTable(), G4NeutronHPElastic::BuildPhysicsTable(), G4NeutronHPFission::BuildPhysicsTable(), G4NeutronHPFissionData::BuildPhysicsTable(), G4NeutronHPCaptureData::BuildPhysicsTable(), G4NeutronHPInelasticData::BuildPhysicsTable(), G4NeutronHPElasticData::BuildPhysicsTable(), G4NeutronHPThermalScatteringData::BuildPhysicsTable(), G4NeutronHPInelastic::BuildPhysicsTable(), G4NeutronHPThermalScattering::buildPhysicsTable(), OpNovicePhysicsList::ConstructOp(), G4IonTable::CreateIon(), G4RunManagerKernel::DefineWorldVolume(), G4UIcommand::DoIt(), G4VisManager::Draw(), G4VisManager::DrawT(), G4VisManager::DrawT2D(), G4RunManagerKernel::DumpRegion(), G4VisManager::EndDraw(), G4VisManager::EndDraw2D(), G4ParticleTable::FindParticle(), G4LossTableManager::G4LossTableManager(), G4NistManager::G4NistManager(), G4Pow::G4Pow(), G4RunManagerKernel::G4RunManagerKernel(), G4UIcommand::G4UIcommandCommonConstructorCode(), G4IonTable::GetIon(), G4NeutronHPVector::GetXsec(), G4DNAChemistryManager::Initialize(), G4RunManagerKernel::InitializePhysics(), G4ParticleTable::Insert(), G4CsvAnalysisReader::Instance(), G4XmlAnalysisReader::Instance(), G4RootAnalysisReader::Instance(), G4XmlAnalysisManager::Instance(), G4RootAnalysisManager::Instance(), G4CsvAnalysisManager::Instance(), G4ITTrackHolder::Instance(), G4PhysicsModelCatalog::Register(), G4RunManager::ReinitializeGeometry(), G4ParticleTable::Remove(), G4IonTable::Remove(), G4RunManagerKernel::RunInitialization(), G4RunManagerKernel::WorkerDefineWorldVolume(), G4XmlAnalysisManager::WriteH1(), G4RootAnalysisManager::WriteH1(), G4CsvAnalysisManager::WriteH1(), G4XmlAnalysisManager::WriteH2(), G4RootAnalysisManager::WriteH2(), G4CsvAnalysisManager::WriteH2(), G4XmlAnalysisManager::WriteH3(), G4RootAnalysisManager::WriteH3(), G4CsvAnalysisManager::WriteH3(), G4XmlAnalysisManager::WriteP1(), G4RootAnalysisManager::WriteP1(), G4CsvAnalysisManager::WriteP1(), G4XmlAnalysisManager::WriteP2(), G4RootAnalysisManager::WriteP2(), and G4CsvAnalysisManager::WriteP2().
void G4Threading::SetMultithreadedApplication | ( | G4bool | value | ) |
Definition at line 133 of file G4Threading.cc.
Referenced by G4MTRunManagerKernel::G4MTRunManagerKernel().