The current 10 threads is not particularly "lots" and not stressful.
Create 10x300 threads and ensure they all are running at the same time.
Depends on D106953.
 Differential  D106954  
tsan: improve lots_of_threads test Authored by dvyukov on Jul 28 2021, 6:03 AM. 
Details 
 The current 10 threads is not particularly "lots" and not stressful. Depends on D106953. 
Diff Detail 
 Event Timeline | 
This works because inner i is shadowing outer i, but it'd still be nicer if it was using i and j and not two i.