Definition Questions

What is the relationship and differences between processes and threads?

A process usually represent an indepentdent execution unit with its own memory areas, system resources and scheduling slots.

A thread is typically a division of a process. Threads usually share common memory areas, system resources and they share the time allocated to that process.

原文地址:https://www.cnblogs.com/Dylan-Java-NYC/p/4963792.html