336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
Threads are a part of a process, i.e. a process may contain one or more threads. but thread cannot contain process.
Process
- contains the program code and its current activity.
- has a self-contained execution environment.
- has a complete set of private basic run-time resources; each process has its own memory space
- To facilitate communication between the processes, most operating system use Inter processes Communication(IPC) resources, such as pipes and sockets.
- Run in separate memory spaces.
Thread
- excite even the smallest sequence of programmed instructions that can be manged independently by an operating system.
- threads are made of and exist within a process
- lightweight processes
- Threads can directly communicate with other threads of its process
- Run in shared memory spaces
'ⓟrogramming > Programming' 카테고리의 다른 글
ASN.1 (0) | 2010.11.04 |
---|---|
DLL 인젝션 기법(기초) (0) | 2010.07.26 |