30 likes | 98 Views
Concurrency revisited. Non-threaded I/O. reading. writing. 5 ms I/O time per block 1 ms run time per block Total program time=5*10+9= 59 ms. Threaded I/O. 5 ms I/O time per block 1 ms run time per block Total program time=5*7+2= 37 ms.
E N D
Non-threaded I/O reading writing 5 ms I/O time per block 1 ms run time per block Total program time=5*10+9= 59 ms
Threaded I/O 5 ms I/O time per block 1 ms run time per block Total program time=5*7+2= 37 ms