
上QQ阅读APP看书,第一时间看更新
Process control
This type of services includes load, which adds a program to memory and prepares for its execution before passing control to the program itself, or execute, which runs an executable file in the context of a pre-existing process. Other operations that belong to this category are as follows:
- end and abort—the first requires the application to exit while the second forces it.
- CreateProcess, also known as fork on Unix systems or NtCreateProcess in Windows.
- Terminate process.
- Get/set process attributes.
- Wait for time, wait event, or signal event.
- Allocate and free memory.