Can an Interrupt handler write to a FIFO?

Yes, it can. Using interrupt handlers is one of the newer ways of handling asynchronous I/O The more typical way of doing this, is with a select, poll, or Linux epoll command These are arguably a bit more preferred, because rather than "interrupting" your code when an event is available - you are able to handle events and return to the "poll" loop to get more events when you're done with the prior event. These mechanisms can wait on a number of different file descriptors at the same time, and return whichever one is available An interrupt handler is probably not what you want to do - because you don't necessarily want to be interrupted while processing one event, to know that another is ready.

If you did, you'd probably wind up queuing the request anyway for later handling - which is exactly what poll and epoll to to begin with If you're under Linux, "epoll" is the most optimum. If your not, (or want POSIX compliance), use "poll". "select" is an "older" method, and doesn't queue requests as well.

Yes, it can. Using interrupt handlers is one of the newer ways of handling asynchronous I/O. The more typical way of doing this, is with a select, poll, or Linux epoll command.

These are arguably a bit more preferred, because rather than "interrupting" your code when an event is available - you are able to handle events and return to the "poll" loop to get more events when you're done with the prior event. These mechanisms can wait on a number of different file descriptors at the same time, and return whichever one is available. An interrupt handler is probably not what you want to do - because you don't necessarily want to be interrupted while processing one event, to know that another is ready.

If you did, you'd probably wind up queuing the request anyway for later handling - which is exactly what poll and epoll to to begin with. If you're under Linux, "epoll" is the most optimum. If your not, (or want POSIX compliance), use "poll"."select" is an "older" method, and doesn't queue requests as well.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions