41 #ifndef G4GEOMSPLITTER_HH
42 #define G4GEOMSPLITTER_HH
60 void *
operator new(size_t)
67 void operator delete(
void *anOffset)
75 T* noffset =
new T[size];
126 G4Exception(
"G4GeomSplitter::SlaveCopySubInstanceArray()",
144 G4Exception(
"G4GeomSplitter::SlaveInitializeSubInstance()",
163 G4Exception(
"G4GeomSPlitter::SlaveReCopySubInstance()",
165 "Must be called after Initialisation or first Copy.");
189 "Thread already has workspace - cannot use another.");
void UseWorkArea(T *newOffset)
G4int CreateSubInstance()
static G4GEOM_DLL G4ThreadLocal G4Allocator< T > * anOffsetAllocator
void FreeSingle(Type *anElement)
#define G4MUTEXINIT(mutex)
void SlaveInitializeSubInstance()
static G4GEOM_DLL G4ThreadLocal T * offset
T * Reallocate(G4int size)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
void SlaveCopySubInstanceArray()
void CopyMasterContents()
void SlaveReCopySubInstanceArray()