This content has been marked as final. Show 2 replies
So you want the threads to finish in a specific order?
You're creating 5 different vectors, and assigning them all to a single reference (so the last one assigned wins).
Also, as EJP said, why go parallel if you want results in order.