Would it be better implement a thread with the sole purpose of writing to the files? Keep in mind that this might not be an option now, because we do not know how we are going to parallelized the code, so we have to be sure that this thread will not interfere with the ones we will have when we implement our parallelization.
Would it be better implement a thread with the sole purpose of writing to the files? Keep in mind that this might not be an option now, because we do not know how we are going to parallelized the code, so we have to be sure that this thread will not interfere with the ones we will have when we implement our parallelization.