Lec23-Synchronization Issues

Lec23-Synchronization Issues - Operating System Operating...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Operating System Operating System Spring 09 Spring 09 National University National University of Computer & Emerging Sciences of Computer & Emerging Sciences Lec23-Synchronization Issues Lec23-Synchronization Issues Prepared by Prepared by Uzma Maroof Uzma Maroof uzma.maroof@nu.edu.pk uzma.maroof@nu.edu.pk 2 Reference Reference Modern Operating System Andrew S. Tanenbaum 2 nd edition 2.3 Interprocess communications 3 IPC issues IPC issues 1. How do the processes communicate? 2. One process should not get into the way of another process when doing critical activities 3. Proper sequence of execution when dependencies are present A produces data, B prints it Before printing B should wait while A is producing data B is dependent on A 4 Multithreading issues Multithreading issues All the 3 mentioned issues apply to multiple threads as well 1. How do the threads communicate Simpler due to shared address space 2. One thread should not get into the way of another thread when doing critical activities 3. proper sequencing when dependencies are present A produces data, B prints it Before printing B should wait while A is producing data B is dependent on A 5 IPC issues Vs Multithreading IPC issues Vs Multithreading issues issues Same solutions exists The only difference could be the level at which the solution is applied Kernel level User level From now on threads and processes both mean the same i.e. Execution path, unless otherwise specified 6...
View Full Document

Page1 / 19

Lec23-Synchronization Issues - Operating System Operating...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online