Merge branch 'master' of https://git.cohabit.fr/pgp/Traitement-signal-plantes
This commit is contained in:
commit
13b07003ee
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue