- Регистрация
- 29.01.2015
- Сообщения
- 205
- Благодарностей
- 59
- Баллы
- 28
Hi Guys,
Do you have any simple solution for this situation?
I have a template which will run on multiple threads.
At the end of each iteration, the template will need to save several lines in an excel file. If running on a single thread there would be no problem, but when running on multiple threads I am afraid that the results will be mixed up.
This is how I want the results to be saved in the excel file:
Line 1 Thread 1
Line 2 Thread 1
Line 3 Thread 1
Line 1 Thread 2
Line 2 Thread 2
Line 3 Thread 2
...
What I mean is that I would like all the results from Thread 1 to be saved all at once in the excel file, and not mixed up with some/ all of the results of Thread 2
This is how I do not want the results to be saved in the excel file:
Line 1 Thread 1
Line 1 Thread 2
Line 2 Thread 2
Line 2 Thread 1
Line 3 Thread 1
...
I think you got my point...
Thabks a lot for your help!
Do you have any simple solution for this situation?
I have a template which will run on multiple threads.
At the end of each iteration, the template will need to save several lines in an excel file. If running on a single thread there would be no problem, but when running on multiple threads I am afraid that the results will be mixed up.
This is how I want the results to be saved in the excel file:
Line 1 Thread 1
Line 2 Thread 1
Line 3 Thread 1
Line 1 Thread 2
Line 2 Thread 2
Line 3 Thread 2
...
What I mean is that I would like all the results from Thread 1 to be saved all at once in the excel file, and not mixed up with some/ all of the results of Thread 2
This is how I do not want the results to be saved in the excel file:
Line 1 Thread 1
Line 1 Thread 2
Line 2 Thread 2
Line 2 Thread 1
Line 3 Thread 1
...
I think you got my point...
Thabks a lot for your help!