got rid of unnecessary usleep before transmitting in receiver

This commit is contained in:
Maliakal Dhanya
2014-12-01 17:18:26 +01:00
parent bc79546e4e
commit 6787c2e1e0

View File

@ -1521,10 +1521,10 @@ void UDPStandardImplementation::startReadout(){
//#endif //#endif
//wait so that all packets which take time has arrived //wait so that all packets which take time has arrived
usleep(50000); usleep(5000);
/********************************************/ /********************************************/
usleep(2000000); //usleep(2000000);
pthread_mutex_lock(&status_mutex); pthread_mutex_lock(&status_mutex);
status = TRANSMITTING; status = TRANSMITTING;
pthread_mutex_unlock(&status_mutex); pthread_mutex_unlock(&status_mutex);