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

操作系统是怎么实现 epoll 的

  •  
  •   linxiaoziruo · Apr 16, 2019 · 1287 views
    This topic created in 2570 days ago, the information mentioned may be changed or developed.

    操作系统自己开个线程不断轮询各个 IO 的缓存区,发现有数据,就产生一个事件?

    leviathan0992
        1
    leviathan0992  
       Apr 16, 2019
    内核是靠中断处理的回调
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   978 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 19:42 · PVG 03:42 · LAX 12:42 · JFK 15:42
    ♥ Do have faith in what you're doing.