Discussion
The limitation of a task notification compared with a semaphore is that it
Answer: D
Correct answer: must name the receiving task
A notification is sent directly to one task, so the sender must know which, and only one task can wait on it. A semaphore is an independent object that any task may signal and any may wait on, which suits a broadcast or an anonymous producer. The notification is faster and lighter for exactly the case it fits.
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