1. sleep
    2. yield
    3. join
      1. 在t1线程中调用t2.join表示将t2线程加入到t1线程中;直到t2运行结束才让t1继续运行

    image.png