42#ifndef G4VUPLSPLITTER_HH
43#define G4VUPLSPLITTER_HH
102 return (totalobj - 1);
123 G4Exception(
"G4VUPLSplitter::NewSubInstances()",
"OutOfMemory",
152 G4Exception(
"G4VUPLSplitter::UseWorkspace()",
"TwoWorkspaces",
154 "Thread already has workspace - cannot use another.");
186 G4Exception(
"G4VUPLSplitter::WorkerCopySubInstanceArray()",
"OutOfMemory",
191 memcpy(
offset, sharedOffset, totalspace *
sizeof(T));
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
#define G4MUTEXINIT(mutex)
void WorkerCopySubInstanceArray()
G4RUN_DLL G4ThreadLocalStatic G4int workertotalspace
G4RUN_DLL G4ThreadLocalStatic T * offset
G4int CreateSubInstance()
void UseWorkArea(T *newOffset)
#define G4ThreadLocalStatic