进程管理
Operating Systems / Linux · 5 notes
- Process Managementhistorical
1. Processes 1.1. IPC IPC 1.2. Deadlock Deadlock 1.3. Synchronization Synchronization 2. Process vs Thread Program, Process, and Thread
- IPChistorical
1. What Is Inter Process Communication? It is the exchange of information between processes. 2. Why Inter Process Communication Is Needed Because each process has an independent address space, for security reasons the operating system does not allow
- Synchronizationhistorical
[toc] 1. Synchronization and Mutual Exclusion 1.1. Synchronization Multiple processes execute in a certain order. 1.2. Mutual Exclusion Among multiple processes, only one process can enter the critical section at the same time. 1.2.1. Critical Sectio
- Deadlockhistorical
[toc] 1. What Is Deadlock? A holds lock 1 and needs lock 2; B holds lock 2 and needs lock 1. 2. Necessary Conditions for Deadlock Mutual exclusion: resources cannot be shared. If I hold this resource at a given time, you cannot hold it. Hold and wait
- Program, Process, and Threadhistorical
[toc] 1. What Are They? A program is a collection of instructions stored on the hard disk; it is a static entity. A process is a program loaded into memory with its instructions executed by the CPU; it is a dynamic entity. A thread is one of multiple