mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
closeDataFile is only for gotthard and included lock for socket while using receiver
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@338 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
@ -119,10 +119,10 @@ return 0;
|
||||
|
||||
|
||||
|
||||
int fileIO::closeDataFile() {fflush(stdout);
|
||||
int fileIO::closeDataFile() {cout<<"closing datafile: filfd:"<<filefd<<endl;
|
||||
if (filefd)
|
||||
fclose(filefd);
|
||||
filefd=NULL;
|
||||
filefd=NULL; cout<<"closed data file"<<endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user