MCPcopy Create free account
hub / github.com/SIPp/sipp / free_user

Method free_user

src/call_generation_task.cpp:287–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void 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}

Callers

nothing calls this directly

Calls 2

GetStatMethod · 0.80
setRunningMethod · 0.80

Tested by

no test coverage detected