| 285 | } |
| 286 | |
| 287 | void CallGenerationTask::free_user(int userId) |
| 288 | { |
| 289 | if (main_scenario->stats->GetStat(CStat::CPT_C_CurrentCall) > open_calls_allowed) { |
| 290 | retiredUsers.push_front(userId); |
| 291 | } else { |
| 292 | freeUsers.push_front(userId); |
| 293 | /* Wake up the call creation thread. */ |
| 294 | if (instance) { |
| 295 | instance->setRunning(); |
| 296 | } |
| 297 | } |
| 298 | } |
nothing calls this directly
no test coverage detected