add comment for work in main

This commit is contained in:
quentin.perret 2022-06-15 13:59:27 +02:00
parent c66535111d
commit a6c0e54756

View file

@ -66,6 +66,9 @@ void *threadCalculGrowthRate(void * vargp){
Pqueue rawDataQueue = firstRawDataQueue; Pqueue rawDataQueue = firstRawDataQueue;
char* fileName; char* fileName;
while(rawDataWriteFlag){ while(rawDataWriteFlag){
//add case first file traitement
//(possibility 1: call twice powerfunction , following while strat after 2 file encountered)
//(posibilty 2 : initialiaze with a 0-fill array, move ligns for first encounter then let the following whil e do the job)
while(queueGetNextE(rawDataQueue) != NULL){ while(queueGetNextE(rawDataQueue) != NULL){
rawDataQueue = queueGetNextE(rawDataQueue); rawDataQueue = queueGetNextE(rawDataQueue);
fileName = queueGetTabChar(rawDataQueue); fileName = queueGetTabChar(rawDataQueue);