Sequences started in parallel and how to use fork join_any if the number of sequences is varied?

In reply to dave_59:

Hi,

Thank you for answer. That’s exactly what I wanted. I have one question for the code. Instead of using seq[i].start, can you help me understand why int j is used for seq[j].start?

Thank you,
Seunghyun Lee