← 回題庫

卷別

作業系統

選擇

國立政治大學 2025 · 考試 · 第 20 題

Which of the following statements is true?

  • (A)
    A counting semaphore can never be used as a binary semaphore.
  • (B)
    A binary semaphore can never be used as a counting semaphore.
  • (C)
    Counting semaphores can be used to control access to a resource with a finite number of instances.
  • (D)
    Spinlocks can be used to prevent busy waiting in the implementation of semaphore

標準解析

AI 已複查