Lec11-IPC Unix Case Study Pipes I

Lec11-IPC Unix Case Study Pipes I - National University of...

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

View Full Document Right Arrow Icon
Operating System Operating System Spring 09 Spring 09 National University National University Lec11-IPC Unix case study Lec11-IPC Unix case study Prepared by Prepared by Uzma Maroof Uzma Maroof uzma.maroof@nu.edu.pk uzma.maroof@nu.edu.pk
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Reference Reference Operating system concepts, Silberschatz, 6 th edition 4.4 4.5.1- 4.5.4 Unix Network Programming Interprocess Communications, Vol. 2, 2 nd edition W. Richard Stevens Chapter 4 Man pages
Background image of page 2
3 Unix IPC Unix IPC Process Process Process Process Process Process Shared info filesystem Shared memory Kernel
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Unix IPC Unix IPC Message passing Pipes FIFOs Message queues Synchronization Mutexes Condition variables read-write locks Semaphores Shared memory Anonymous Named Procedure calls RPC Event notification Signals
Background image of page 4
5 File Descriptors File Descriptors The PCB ( task_struct) of each process contains a pointer to a file_struct files fd[0] fd[1] fd[255] f_mode f_pos f_inode f_op . PCB file_struct file File operation routines
Background image of page 5

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

View Full DocumentRight Arrow Icon
File Descriptors File Descriptors The files_struct contains pointers to file data structures Each one describes a file being used by this process. f_mode : describes file mode, read only, read and write or write only. f_pos
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/23/2011 for the course COE 10001 taught by Professor Abad during the Spring '09 term at Alfaisal University.

Page1 / 22

Lec11-IPC Unix Case Study Pipes I - National University of...

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

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