TreeviewCopyright © aleen42 all right reserved, powered by aleen42
Thread & Process Back
Process
- Process: 指正在運行的一個程序
- Linux進程結構:
- 數據段(Data)
- 代碼段(Programe)
- 堆棧段(Stack)
- 返回地址
- 局部變量
Linux進程分類:
- 核心進程(swapd): 內核態下運行, 系統活動期間不會終止
- 守護進程: 運行在後臺的進程
- 用戶進程: 用戶創建的進程(init進程不能被終止)
Linux進程樹: 所有進程構建成一棵樹的結構, 稱為進程樹. 一個進程只能有一個父進程, 可以有多個子進程. 進程樹的根節點是init進程(
pstree
命令可查看)- Create Processes
- Signal
- Kill processes
- Interprocesses Communication(IPC)
Thread
- Thread: 指程序中的片段, 這些片段能夠並行執行
As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.
Notice: This plugin has used Cookie to store your token with an expiration.