进程与线程的区别 What is the difference between process and thread
2010-06-04 14:00
786 查看
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.
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.
相关文章推荐
- What is the difference between a thread and a process?
- What is the difference between a process and a thread?
- Multi-thread: What is the difference between OpenMP and MPI
- Multi-thread: What is the difference between OpenMP and MPI
- Multi-thread: What is the difference between OpenMP and MPI
- php中each和print的区别(What is the difference between echo and print?)
- Whats the difference between Thread.setPriority() and android.os.Process.setThreadPriority()
- What is the difference between const and static readonly?(const 和 static readonly 的区别?)
- Multi-thread: What is the difference between OpenMP and MPI
- overload与override的区别 What is the difference between overload and override
- What is the difference between '/n' and '/r/n'? /n /r/n的区别是什么
- What is the basic difference between NSTimer, NSTask, NSThread and NSRunloop?
- What is the basic difference between NSTimer, NSTask, NSThread and NSRunloop ?
- Q: What is the difference between protocol stacks and profiles?蓝牙协议栈和profile的区别
- What is the basic difference between NSTimer, NSTask, NSThread and NSRunloop?
- Multi-thread: What is the difference between OpenMP and MPI
- macro与inline的区别 What is the difference between macro and inline?
- What's the difference between a thread and a process?
- What is the basic difference between NSTimer, NSTask, NSThread and NSRunloop?
- 文科和理科的区别(What is the difference between science and engineering)?