anguea
V2EX  ›  问与答

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

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