- basic thread problem: main thread modify the number of sub-thread; sub-threads read the  thread number and print it, and increase a global resource and print it. This is a draft version, result of unpredictable output.