Discussion
Match the construct with the problem it solves.
1. Mutex 2. Counting semaphore 3. Message queue
P. Passing data between tasks Q. Mutual exclusion with ownership R. Counting available instances of a resource
Answer: C
Choosing the wrong one of the three is the commonest structural mistake in a first kernel design: a mutex used for signalling, or a semaphore used where ownership was needed. Each answers a different question and none substitutes for another.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development