Discussion
Two tasks communicate through a queue and never share memory. Locks between them are
Answer: A
The kernel protects the queue's own contents and the copy semantics mean neither task touches the other's storage, so there is nothing left to guard. Where a pointer is queued, ownership of the pointed-to buffer becomes a convention the two must observe, and that convention takes the place of the lock.
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