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:
Thus, process and flow do not mean the same thing!
Linux (POSIX) , , (filedescriptors, signal actions,...) "".
, , , POSIX , Linux , .
- ( , API ((tgkill, tkill, exit_group,...)).
tgkill
tkill
exit_group
google LinuxThreads NPTL, .
Source: https://habr.com/ru/post/1679256/More articles:Kotlin repeatable @annotations do not work on jdk-8 - annotationsWhy explicitly declare classes as special functions as "default" - c ++Why is this async / await code NOT deadlocking? - c #Autocomplete / autocomplete in IE 11 and Safari - jqueryКак распаковать последовательность результатов <(A, B), E> на (Vec , Vec ) и остановить первую ошибку? - iteratorионное использование получить имя предыдущей страницы - ionic2Is it possible to use `waitForReadyRead ()` instead of creating a slot for the signal `readyRead ()`? - c ++CSS 3: Transparent square corner of input element (text) how? - cssWhat elements can a span tag contain in HTML5? - html5Angular - valueChanges for a form array - angularAll Articles