關於 Deadlock Posted on map[Count:March 20, 2022] | 785 words | Zhima-Mochi 死鎖發生的必要條件 當死鎖發生時,必然會滿足以下四個條件: Mutual Exclusion: 至少存在一個資源是無法共享的。 Hold and Wait: 一個Thread握有資源且等待另一個被其他T [Read More] operating system
介紹 Process Scheduling Posted on map[Count:March 15, 2022] | 614 words | Zhima-Mochi 透過 Process Sheduler,將一個或一組Process指派給CPU core,一個CPU core一次運行處理一個Process。在記憶體中的pro [Read More] operating system
介紹 Thread Posted on map[Count:March 8, 2022] | 716 words | Zhima-Mochi Thread 由 thread ID, program counter, register set 以及 stack 組成,是Process管理下,實際的工作角色。 Multithread Programming 當一個 Process 不只有一個Thread時,可以稱其為Multithread。 [Read More] operating system
介紹 Process Posted on map[Count:March 7, 2022] | 726 words | Zhima-Mochi 我們常說的程式 (Program) 是一個寫好的可執行檔案,或是編譯好的可執行檔案。當他開始執行,進入到電腦的記憶體時,會稱作Process。Process是工 [Read More] operating system