精華區beta Grad-ProbAsk 關於我們 聯絡資訊
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 APIs: enter_monitor(void) leave_monitor_normally(void) leave_monitor_with_signal(c) wait_in_monitor(c), where mutex=1 and c (condition variable)are semaphores. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 116.59.16.225
SONGya168:格式請修正 09/22 20:43