Discussion
A callback invoked from interrupt context must not
Answer: D
Correct answer: block on a kernel object or take a long time
A callback from interrupt context runs with interrupts disabled or at high priority, and there is no task to suspend, so blocking either faults or hangs the system. It must do the minimum - copy a value, set a flag, signal a semaphore - and leave the work to a task.
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