got rid of the time wait in creating files

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@744 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2014-02-27 10:53:51 +00:00
parent 7371aea454
commit 8a5dd0a877
2 changed files with 3 additions and 3 deletions

View File

@ -768,10 +768,10 @@ int slsReceiverFunctionList::setupWriter(){
#endif #endif
sem_post(&writersmp[i]); sem_post(&writersmp[i]);
//wait for each file to be created //wait for each file to be created
while((1<<i)&createfile_mask){ /*while((1<<i)&createfile_mask){
cout<<"*"<<flush; cout<<"*"<<flush;
usleep(5000); usleep(5000);
} }*/
} }
//wait till its created //wait till its created
/*while(createfile_mask){ /*while(createfile_mask){

View File

@ -9,7 +9,7 @@
#include "slsReceiverUsers.h" #include "slsReceiverUsers.h"
#include <signal.h> //SIGINT #include <signal.h> //SIGINT
#include <cstdlib> //EXIT #include <stdlib.h> //EXIT
#include <iostream> #include <iostream>
#include <string> #include <string>