caliburn1994
V2EX  ›  问与答

NIO 需要创建新的线程吗?

  •  
  •   caliburn1994 · Jul 27, 2021 · 2106 views
    This topic created in 1784 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   ·   3543 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:50 · PVG 18:50 · LAX 03:50 · JFK 06:50
    ♥ Do have faith in what you're doing.