4 ms·
It is syscall-level emulation. Emulation in this case doesn't mean it has to be slow. I am curious how they implemented `fork(2)`, though.
by loeg 10y ago
It is syscall-level emulation. Emulation in this case doesn't mean it has to be slow. I am curious how they implemented `fork(2)`, though.
- vertex-four 10y agoSurprisingly, the NT kernel implements a copy-on-write fork function - the Windows subsystem does not allow Windows applications to use that function, though. Bash for Windows is implemented as a separate subsystem from Windows on top of the NT kernel, allowing it to build its own abstractions on top of the kernel.
- gruez 10y agoAFAIK the nt kernel already has support for forking.
- TazeTSchnitzel 10y agoNT has support for POSIX-style forking, because it needed it in order to have a POSIX subsystem in the 1990s.