powerpc/selftests: Wait all threads to join

Michael Ellerman patch-notifications at ellerman.id.au
Thu Sep 20 14:20:56 AEST 2018


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/exiting.
> 
> This patch also guarantees that the amount of threads being created is equal
> to thread_num.
> 
> Signed-off-by: Breno Leitao <leitao at debian.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/693b31b2fc1636f0aa7af53136d3b4

cheers


More information about the Linuxppc-dev mailing list