Main Page/aio

From Nekcem
Jump to navigationJump to search
  • Synchronous means that the OS will work on your IO request once they get your request.
  • Asynchronous means the OS will delay to work on your IO request. Maybe it is because OS is busy working on some other stuff or the IO is not available.
  • Blocking IO means you call the IO function to get the data. The function you called will not return until the data is available.
  • Non-Blocking IO means you call the IO function and the IO function returns right away. The IO function will just post a message to the work queue and the other process will fetch the message from this queue and then begin to get the data from the IO. Once the data is ready, they will notify you the data is ready.

http://www.ibm.com/developerworks/linux/library/l-async/?S_TACT=105AGX52&S_CMP=cn-a-l