73 G4Exception(
"GeometryWorspacePool::CreateWorkspace",
"GeomVol003",
83 G4Exception(
"GeometryWorspacePool::CreateWorkspace",
"GeomVol003",
85 "Cannot create workspace twice for the same thread.");
G4GeometryWorkspace * CreateWorkspace()
~G4GeometryWorkspacePool()
static G4GEOM_DLL G4GeometryWorkspace *& fMyWorkspace()
void Recycle(G4GeometryWorkspace *)
#define G4ThreadLocalStatic
#define G4MUTEX_INITIALIZER
G4GeometryWorkspacePool()
void CleanUpAndDestroyAllWorkspaces()
G4GeometryWorkspace * FindOrCreateWorkspace()
static G4GeometryWorkspacePool * thePool
static G4GeometryWorkspacePool * GetInstance()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void CreateAndUseWorkspace()