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

NIO 需要创建新的线程吗?

  •  
  •   caliburn1994 · Jul 27, 2021 · 1991 views
    This topic created in 1744 days ago, the information mentioned may be changed or developed.
    [Asynchronous vs Multithreading - Is there a difference? - stackoverflow]( https://stackoverflow.com/questions/600795/asynchronous-vs-multithreading-is-there-a-difference)
    这几天看到一个帖子,于是乎搜什么 IO 是不需要创建线程。似乎 AIO 是不需要创建线程,现在的疑问,NIO 每次进行 IO 操作时,是否需要创建线程 /利用线程池已有的线程。
    yangzhezjgs
        1
    yangzhezjgs  
       Jul 27, 2021
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4122 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 00:54 · PVG 08:54 · LAX 17:54 · JFK 20:54
    ♥ Do have faith in what you're doing.