adding a semaphore to handle end of acq

This commit is contained in:
2018-04-12 15:50:27 +02:00
parent 1c5250ea7f
commit d3c807975f
2 changed files with 12 additions and 5 deletions

View File

@ -293,6 +293,9 @@ class Listener : private virtual slsReceiverDefs, public ThreadObject {
/** if the udp socket is connected */
bool udpSocketAlive;
/** Semaphore to synchonize deleting udp socket */
sem_t semaphore_socket;
// for print progress during acqusition
/** number of packets for statistic */