The Problem: Keeping in mind that we are using longjmp() and setjmp() for context switching, what feature of sigvector() prevents us from using this idea.
Hint: The semantic issues involved are clearly presented in the first few paragraphs of the man page for sigvector().
Assume you have an asynchronous transmitter comparable to the one documented in Problem 3, Homework 1. This requests an interrupt whenever the hardware transmit queue has space for another character. Assume also that there is a bit in some interface register that can be tested to get the state of the CTS line, and a bit that can be set to control the RTS line.
The Problem: Assuming you were interested in a pure interrupt driven asynchronous transmitter using EIA flow control, what other conditions would you want the hardtware to detect, requesting an interrupt when they occurred. For each interrupt condition you identify, give a short paragraph identifying the function of the interrupt handler for that condition.
Hint: There are at least two and possibly three conditions!