Wednesday, November 14, 2012

Dailly Reading: Asynchronous_I/O (wiki)

http://en.wikipedia.org/wiki/Asynchronous_I/O

Asynchronous I/O (non-blocking I/O),

Keywords/Concept map:

Hardware device status polled
hardware interrupts
Multitasking operating systems
Spooling?
multithreading

Forms:
All forms of asynchronous I/O open applications up to potential resource conflicts and associated failure. Careful programming often using
mutual exclusion, semaphores, etc)


Signals (Interrupts)
Available in BSD and POSIX Unix. I/O is issued asynchronously, and when it is complete a signal (interrupt) is generated. As in low-level kernel programming, the facilities structures as seen by the signal handler. The signal handler is usually not able to issue further asynchronous I/O by itself.


 
IO Synchronous Asynchronous Blocking IO Non Blocking IO (In chinese) http://blog.csdn.net/historyasamirror/article/details/5778378

Richard Stevens:
Unix Network Programming Volume 1, Third Edition: The Sockets Networking.

Section 6.2 I/O Models

No comments:

Post a Comment