[理工] [OS]-可以請問一下關於Monitor

看板Grad-ProbAsk作者 (work)時間16年前 (2009/09/28 12:41), 編輯推噓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.137.50.202
文章代碼(AID): #1Am3vah2 (Grad-ProbAsk)