MCPcopy Create free account
hub / github.com/digego/extempore / I

Method I

src/SchemeProcess.cpp:165–175  ·  view source on GitHub ↗

#ifdef EXT_BOOST SchemeProcess* SchemeProcess::I() { for(int i=0;i threadScheme.isCurrentThread()) { return INSTANCES[i]; } } throw std::runtime_error("Error: SchemeProcess does not exist"); return INSTANCES[0]; } #else

Source from the content-addressed store, hash-verified

163// }
164// #else
165 SchemeProcess* SchemeProcess::I()
166 {
167 for(int i=0;i<INSTANCES.size();i++) {
168 if(INSTANCES[i]->threadScheme.isCurrentThread())
169 {
170 return INSTANCES[i];
171 }
172 }
173 throw std::runtime_error("Error: SchemeProcess does not exist");
174 return INSTANCES[0];
175 }
176 // #endif
177
178 SchemeProcess* SchemeProcess::I(std::string name)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
isCurrentThreadMethod · 0.80

Tested by

no test coverage detected