logoalt Hacker News

vlovich123yesterday at 10:31 PM1 replyview on HN

Depends on the app/framework but typically phantom threads don’t get started. Also, those stacks aren’t materialized until you write something - they’re all CoW’ed pages from a sentinel 0-filled page the kernel keeps around just for this purpose.


Replies

dwatttttyesterday at 10:57 PM

It's been a while, but I believe Windows initialises an internal thread pool & parallelises (some parts of) process start / module loading

show 1 reply