现在的位置: 首页 > 综合 > 正文

进程与线程的区别 What is the difference between process and thread

2013年08月24日 ⁄ 综合 ⁄ 共 309字 ⁄ 字号 评论关闭

1. 计算机可以同时拥有多个进程,每个进程可以同时拥有多个线程

2. 每个进程拥有独立的地址空间,每个线程共享(创建自己的)进程创建的地址空间

3. 进程具有一定的负载,线程几乎没有负载

 

 

1. The computer can run multiple processes. Each process can has multiple threads.

2. Threads share the address space of the process that created it; processes have their own address.

3. Threads have almost no overhead; processes have considerable overhead.

抱歉!评论已关闭.