Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on System CPU Usage and Glibc. Parent comment
In Linux really threads are just tasks that share memory and processes are tasks that do not.
fork() and pthread_create() simply end up in the same place because user threads or processes are just tasks to the kernel.
Kernel threads, which are not user space are different.
https://github.com/torvalds/linux/blob/master/include/linux/...
The sched wouldn't be able to use a Red-Black trees in the way it does if it didn't
There are no comments on this comment yet.
In Linux really threads are just tasks that share memory and processes are tasks that do not.
fork() and pthread_create() simply end up in the same place because user threads or processes are just tasks to the kernel.
Kernel threads, which are not user space are different.
https://github.com/torvalds/linux/blob/master/include/linux/...
The sched wouldn't be able to use a Red-Black trees in the way it does if it didn't