Training class : Launch 1000 Threads add Semaphore on run function