卷別
作業系統
選擇國立政治大學 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