The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization: Semaphores

SercoSteveB
Active Participant

Which of the following is/are TRUE regarding Semaphores?

a) A Semaphore can be used to limit the number of tasks that can simultaneously operate on a shared resource.

b) Semaphores are an indication that a user action has occurred.

c) Each task that reaches a Semaphore waits until the specified number of tasks are waiting at which point execution continues.

d) A Semaphore is generated each time the UI thread is accessed.

Comments