Geant4  10.01.p03
G4Threading Namespace Reference

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 ()
 

Enumeration Type Documentation

anonymous enum
Enumerator
SEQUENTIAL_ID 
MASTER_ID 
WORKER_ID 
GENERICTHREAD_ID 

Definition at line 198 of file G4Threading.hh.

Function Documentation

G4int G4Threading::G4GetNumberOfCores ( )

Definition at line 126 of file G4Threading.cc.

Referenced by G4MTRunManager::G4MTRunManager(), main(), G4RunMessenger::SetNewValue(), and G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

G4Pid_t G4Threading::G4GetPidId ( )

Definition at line 117 of file G4Threading.cc.

G4bool G4Threading::G4SetPinAffinity ( G4int  idx,
G4Thread at 
)

Definition at line 131 of file G4Threading.cc.

Referenced by G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

void G4Threading::G4SetThreadId ( G4int  aNewValue)

Definition at line 129 of file G4Threading.cc.

Referenced by tbbTask::execute(), G4UImanager::SetUpForSpecialThread(), and G4MTRunManagerKernel::StartThread().

+ Here is the caller graph for this function:

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().

+ Here is the caller graph for this function: