Page 2 of 2

Re: Multi thread, array yes or no?

PostPosted: Fri Feb 07, 2020 12:53 am
by mark_c
thanks Remy.
However, it was wanted to start a certain number of threads through a for () loop and then, when one of them ends, a new thread starts in its place.

Thanks again

Re: Multi thread, array yes or no?

PostPosted: Fri Feb 07, 2020 7:05 pm
by rlebeau
mark_c wrote:However, it was wanted to start a certain number of threads through a for () loop and then, when one of them ends, a new thread starts in its place.


The example I gave you on Feb 5th does exactly that.

Re: Multi thread, array yes or no?

PostPosted: Sat Feb 08, 2020 1:56 am
by mark_c
rlebeau wrote:
mark_c wrote:However, it was wanted to start a certain number of threads through a for () loop and then, when one of them ends, a new thread starts in its place.


The example I gave you on Feb 5th does exactly that.


sorry Remy,
Once a thread terminates, it can't be reused.

I had missed this sentence of yours, which I then wrote too, a forgetfulness, my fault.