How is process and thread the same in Linux?

I read that process and thread are the same thing on Linux, for example, this question says:

There is no difference between a thread and a process on Linux.

But I don’t understand how process and flow mean the same thing. I mean, a thread is what the processor does, and a process is just a wrapper for threads that allows threads to share memory. This image shows the relationship between the process and its threads:

enter image description here

Thus, process and flow do not mean the same thing!

+4
source share
1 answer

Linux (POSIX) , , (filedescriptors, signal actions,...) "".

, , , POSIX , Linux , .

- ( ​​ , API ((tgkill, tkill, exit_group,...)).

google LinuxThreads NPTL, .

+3

Source: https://habr.com/ru/post/1679256/


All Articles