V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
anguea
V2EX  ›  问与答

一个线程 sleep 后查询 myThread.sleep(10000); System.out.println("end ==" + myThread.isAlive());

  •  
  •   anguea · Jun 5, 2017 · 1420 views
    This topic created in 3251 days ago, the information mentioned may be changed or developed.
    请问这里为什么 isAlive 是 false ?这里想了半天没想明白
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2692 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 13:20 · PVG 21:20 · LAX 06:20 · JFK 09:20
    ♥ Do have faith in what you're doing.