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

Function send_wrapper

src/call.cpp:6842–6856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6840
6841#ifdef PCAPPLAY
6842void *send_wrapper(void *arg)
6843{
6844 play_args_t *s = (play_args_t *) arg;
6845 //struct sched_param param;
6846 //int ret;
6847 //param.sched_priority = 10;
6848 //ret = pthread_setschedparam(pthread_self(), SCHED_RR, &param);
6849 //if(ret)
6850 // ERROR("Can't set RTP play thread realtime parameters");
6851 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, nullptr);
6852 pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, nullptr);
6853 send_packets(s);
6854 pthread_exit(nullptr);
6855 return nullptr;
6856}
6857#endif
6858
6859#ifdef GTEST

Callers

nothing calls this directly

Calls 1

send_packetsFunction · 0.85

Tested by

no test coverage detected