Merge branch 'SimulFlux'

This commit is contained in:
quentin.perret 2022-06-13 15:20:21 +02:00
commit af985c81df
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View file

@ -121,7 +121,7 @@ void *simulateFlux(void *vargp){
while(writeOneRawData(rawDataFile)){ while(writeOneRawData(rawDataFile)){
if(cptData == nRow){ if(cptData == nRow){
printf("in if\n"); fclose(rawDataFile);
cptData = 0; cptData = 0;
cptFile++; cptFile++;
//create struct here //create struct here
@ -131,4 +131,5 @@ void *simulateFlux(void *vargp){
FILE *rawDataFile = fopen(fileName,"w+"); FILE *rawDataFile = fopen(fileName,"w+");
} }
} }
queuePrintWholeQ(firstRawDataQueue);
} }