[理工] [OS]-關於Monitor

看板Grad-ProbAsk作者 (work)時間16年前 (2009/09/24 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Assume you are a compiler developer. please show the monitor library procedures for application programmers with semaphores provided by os, your library must include the fllowing AIPs: 1.enter-monitor(void) 2.leave_monitor_normally(void) 3.leave-monitor_with_signal(c) 4.wait_in_monitor(c),where mutex=1 and c condition variable are semaphores. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.136.192.33
文章代碼(AID): #1Akjeg-l (Grad-ProbAsk)