Hi all !
I'm testing a new template with multithread, and i'm not sure if it's ok.
I want to extract all txt files from a directory in my computer and put them to a list in zenno.
Monothread it's ok because all txt will be treated only one time.
But what if I use multithread ? I mean if I launch 5 threads, same txt files will be extracted to 5 lists. It mean that same work will be done on the same texts 5 times. There's no way to delete the txt file treated on all threads ? this way there's no duplicate work on all threads.
Not sure if i make myself understood
Let me know.
I'm testing a new template with multithread, and i'm not sure if it's ok.
I want to extract all txt files from a directory in my computer and put them to a list in zenno.
Monothread it's ok because all txt will be treated only one time.
But what if I use multithread ? I mean if I launch 5 threads, same txt files will be extracted to 5 lists. It mean that same work will be done on the same texts 5 times. There's no way to delete the txt file treated on all threads ? this way there's no duplicate work on all threads.
Not sure if i make myself understood
Let me know.