From 94667c5dde58249ebfc1a42bfc758f5d3247a821 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Tue, 4 Oct 2016 15:15:08 +0200 Subject: [PATCH] got rif of unnecessary usleep in lisetning --- slsReceiverSoftware/src/UDPStandardImplementation.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/slsReceiverSoftware/src/UDPStandardImplementation.cpp b/slsReceiverSoftware/src/UDPStandardImplementation.cpp index 829b736a3..02a50018a 100644 --- a/slsReceiverSoftware/src/UDPStandardImplementation.cpp +++ b/slsReceiverSoftware/src/UDPStandardImplementation.cpp @@ -1527,9 +1527,6 @@ void UDPStandardImplementation::startListening(){ tempBuffer = new char[onePacketSize * (packetsPerFrame - 1)]; //store maximum of 1 packets less in a frame } - if(!activated) - usleep(1* 1000 * 1000); - /* inner loop - loop for each buffer */ //until mask unset (udp sockets shut down by client) while((1 << ithread) & listeningThreadsMask){