General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Tony Zhou
ByteByteGo
comments
Comments by "Tony Zhou" (@ReflectionOcean) on "FANG Interview Question | Process vs Thread" video.
A process is a program executing by a processor. A process doesn't share memory with another process. It has a collection of threads: the main thread and the other threads if any. A thread is an execution unit inside a process. It shares the same heap memory with the other threads in the same process. But it has its own stack memory.
1