reverted semaphore

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@733 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2014-02-06 17:05:09 +00:00
parent 83405b70c8
commit fcacc79f7b
4 changed files with 2 additions and 12 deletions

View File

@ -3237,7 +3237,6 @@ int* slsDetector::readFrame(){
retval=getDataFromDetector();
if (retval) {
dataQueue.push(retval);
sem_post(&queue_mutex);
controlSocket->Disconnect();
}
}
@ -3334,7 +3333,6 @@ int* slsDetector::readAll(){
//std::cout << "-" << flush ;
#endif
dataQueue.push(retval);
sem_post(&queue_mutex);
}
controlSocket->Disconnect();
}
@ -3395,7 +3393,6 @@ int* slsDetector::startAndReadAll(){
//std::cout<< "-" << flush;
#endif
dataQueue.push(retval);
sem_post(&queue_mutex);
}
controlSocket->Disconnect();