#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
| 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) |
nothing calls this directly
no test coverage detected