Searched hist:"693 b31b2fc1636f0aa7af53136d3b49f6ad9ff39" (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-tmspr.c | diff 693b31b2fc1636f0aa7af53136d3b49f6ad9ff39 Tue Jul 31 22:55:57 CEST 2018 Breno Leitao <leitao@debian.org> powerpc/selftests: Wait all threads to join
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@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|