主页 返回 进入列表

  • 总根 >计算机与教育 >课程 >高等教育课程 >本科课程 >操作系统 >ZSTU-(2020-2021)-1 >学生作业 >2018329621064_邢杰焰

  • homeword6_邢杰焰

    Describe semaphore and its operations. Given your own problem related with process synchronization, and solve it by using semaphore.

    Ans:

    Definition:

    A semaphore is a variable or abstract data type used to control access to a common resource by multiple processes in a concurrent system such as a multitasking operating system.

    Operations:

    • Wait(): a process performs a wait operation to tell the semaphore that it wants exc


    全文(Full Article): https://yvsou.com/dc/single.php?groupid=28.218.81608.81609.81613.222.85882.83187.84416&pid=1338492&startgroup=