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

Function Wait

examples/extended/parallel/MPI/source/src/G4MPImanager.cc:62–69  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

60
61// --------------------------------------------------------------------------
62void Wait(G4int ausec)
63{
64 struct timespec treq, trem;
65 treq.tv_sec = 0;
66 treq.tv_nsec = ausec * 1000;
67
68 nanosleep(&treq, &trem);
69}
70
71} // end of namespace
72

Callers 5

WaitForReadyWorkersMethod · 0.85
WaitMethod · 0.85
CheckThreadStatusMethod · 0.85
BcastCommandMethod · 0.85
WaitBeamOnMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected