MCPcopy Create free account
hub / github.com/Kitware/VTK / Initialize

Function Initialize

Common/Core/SMP/Sequential/vtkSMPThreadLocalImpl.h:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 T Exemplar;
139
140 void Initialize()
141 {
142 this->Internal.resize(this->GetNumberOfThreads());
143 this->Initialized.resize(this->GetNumberOfThreads());
144 std::fill(this->Initialized.begin(), this->Initialized.end(), false);
145 }
146
147 int GetNumberOfThreads() { return 1; }
148

Callers

nothing calls this directly

Calls 5

fillFunction · 0.50
resizeMethod · 0.45
GetNumberOfThreadsMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected