Rever1e
V2EX  ›  Java

多线程问题,求助

  •  
  •   Rever1e · Dec 31, 2020 · 3049 views
    This topic created in 2149 days ago, the information mentioned may be changed or developed.

    第一个线程处于键盘输入状态,第二个线程如何使第一个线程 synchronized(obj){},调用 obj.wait()

    1 replies  •  2021-01-04 10:45:35 +08:00
    RedBeanIce
    RedBeanIce
    Jan 4, 2021
    1
    请详细说明你要做什么。
    你的需求
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1568 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 00:03 · PVG 08:03 · LAX 16:03 · JFK 19:03
    ♥ Do have faith in what you're doing.