Commit c53c3cb

mo khan <mo@mokhan.ca>
2021-05-03 03:49:01
expand on an answer
1 parent c67de54
Changed files (1)
doc/assignment3.md
@@ -291,6 +291,18 @@ Your answer for each question should be about 150 words. (100 marks total)
   1. To provide adaptations for devices that have different data-transfer sizes.
   1. To support copy semantics for application I/O.
 
+  If the device that is sending the data is sending it faster than the device that is
+  receiving that data can consume it, than a buffer in between the two helps to ensure
+  that data can travel smoothly from the faster device to the slower one without problems.
+
+  If one device sends data in chunks that are different from the size of chunks that a
+  receiving device can process. Then a buffer can be used to accept chunks of data in
+  one size and send them to another device using a different size of chunks.
+
+  A buffer can also provide a simpler application programming interface between user
+  programs and the operating systems. A buffer decouples the two and can be used
+  to handle the needs of each while maintaing a simple interface for both to work with.
+
 ## Sources
 
 * [Operating System Concepts][os-book]