MCPcopy Create free account
hub / github.com/Geant4/geant4 / SetUpForSpecialThread

Method SetUpForSpecialThread

source/intercoms/src/G4UImanager.cc:852–860  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

850
851// --------------------------------------------------------------------
852void G4UImanager::SetUpForSpecialThread(const G4String& pref)
853{
854 threadID = G4Threading::GENERICTHREAD_ID;
855 G4Threading::G4SetThreadId(threadID);
856 G4iosInitialization();
857 threadCout = new G4MTcoutDestination(threadID);
858 threadCout->SetPrefixString(pref);
859 threadCout->SetIgnoreCout(igThreadID);
860}
861
862// --------------------------------------------------------------------
863void G4UImanager::SetCoutFileName(const G4String& fileN, G4bool ifAppend)

Callers 1

G4VisSubThreadMethod · 0.80

Calls 3

G4iosInitializationFunction · 0.85
SetPrefixStringMethod · 0.80
SetIgnoreCoutMethod · 0.80

Tested by

no test coverage detected