mirror of https://github.com/sipwise/sems.git
If there are no sessions then it makes no senes to process ticks in real time. Sleep up to 0.5 seconds in that case. When sessions are added we are immediately woken up through the conditional variable. Only setting the shutdown flag would not wake up the thread, but a sleep time of half a second should be an acceptable delay for shutdowns. Change-Id: I5aa43382248754ff8dec811038998cf636579734mr12.3.1
parent
1a0b944d93
commit
096a1f31a5
Loading…
Reference in new issue