fzinfz
V2EX  ›  Windows

Windows 10 Bash 的进程原理?

  •  
  •   fzinfz · Apr 7, 2016 · 3338 views
    This topic created in 3761 days ago, the information mentioned may be changed or developed.
    win/linux PID 不同,但是可以在 win 下杀 linux 的进程,而且网卡貌似是共享的

    2 replies    2016-04-07 17:31:06 +08:00
    tabris17
        1
    tabris17  
       Apr 7, 2016
    可能 bash 进程维护了一个包含所有子进程的列表
    menc
        2
    menc  
       Apr 7, 2016   ❤️ 1
    https://www.wikiwand.com/en/Architecture_of_Windows_NT

    请看 NT 内核的 wiki 介绍。 win32 和 posix 和 os/2 都是 NT 内核的 subsystem ,本身并没有什么不同,地位是一样的,只是 win32 subsystem 用的最多.

    NT 内核本身就是一个扩展能力非常高的内核,你说的这些是 NT 内核在用户态的一些 feature.

    网卡共用是因为所有 subsystem 都共用一套内核中的 HAL 。

    PID 不一样是因为这些东西是用户态的,要按照相应的系统的规范重写。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2879 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 08:30 · PVG 16:30 · LAX 01:30 · JFK 04:30
    ♥ Do have faith in what you're doing.