Especially the thread_end callback has not been tested before. This adds a testcase for nested and non-nested threads.
LGTM.
@sconvent This test fails sporadically, if a thread of one nested team is reused for the other nested team. Please submit a follow-up patch which implements synchronization similar to the nested parallel test.
@sconvent
This test fails sporadically, if a thread of one nested team is reused for the other nested team.
Please submit a follow-up patch which implements synchronization similar to the nested parallel test.