52#ifndef G4VUPLSplitter_hh
53#define G4VUPLSplitter_hh 1
86 return (totalobj - 1);
106 "Cannot malloc space!");
132 "Thread already has workspace - cannot use another.");
152 if (
offset !=
nullptr)
return;
161 "Cannot malloc space!");
165 std::memcpy(
offset, sharedOffset, totalspace *
sizeof(T));
176 G4int totalspace = 0;
177 T* sharedOffset =
nullptr;
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