Re: powerpc/selftests: Wait all threads to join

2018-09-19 Thread Michael Ellerman
On Tue, 2018-07-31 at 20:55:57 UTC, Breno Leitao wrote: > Test tm-tmspr might exit before all threads stop executing, because it just > waits for the very last thread to join before proceeding/exiting. > > This patch makes sure that all threads that were created will join before > proceeding/exiti

[PATCH] powerpc/selftests: Wait all threads to join

2018-07-31 Thread Breno Leitao
Test tm-tmspr might exit before all threads stop executing, because it just waits for the very last thread to join before proceeding/exiting. This patch makes sure that all threads that were created will join before proceeding/exiting. This patch also guarantees that the amount of threads being c