TAILIEUCHUNG - Lecture Operating systems: Lesson 8 - Dr. Syed Mansoor Sarwar

Lecture Operating systems: Lesson 8 - Dr. Syed Mansoor Sarwar. The main topics covered in this lesson include: interprocess communication (IPC) and process synchronization; UNIX/Linux IPC tools (pipe, named pipe—FIFO, socket, message queue, shared memory); use of pipe; . | Operating Systems Lecture 8 Agenda for Today Review of previous lecture Interprocess communication IPC and process synchronization UNIX Linux IPC tools pipe named pipe FIFO socket message queue shared memory Use of pipe Recap of the lecture 28 April 2022 Copyright Virtual University of Pakistan Review of Lecture 7 The wait and exec system calls and sample code Cooperating processes Producer-consumer problem 28 April 2022 Copyright Virtual University of Pakistan Interprocess Communication IPC Mechanism for processes to communicate and to synchronize their actions. Message system processes communicate with each other without resorting to shared variables. 28 April 2022 Copyright Virtual University of Pakistan Interprocess Communication IPC IPC facility provides two operations Send message message size fixed or variable Receive message 28 April 2022 Copyright Virtual University of Pakistan Interprocess Communication IPC If P and Q wish to communicate they need to establish a communication link between them exchange messages via send receive 28 April 2022 Copyright Virtual University of Pakistan Interprocess Communication IPC Implementation of communication link physical . shared memory hardware bus logical . logical properties 28 April 2022 Copyright Virtual University of Pakistan Implementation Questions How are links established Can a link be associated with more than two processes How many links can there be between every pair of communicating processes 28 April 2022 Copyright Virtual University of Pakistan Implementation Questions What is the capacity of a link Is the size of a message that the link can accommodate fixed or variable Is a link unidirectional or bi- directional 28 April 2022 Copyright Virtual University of Pakistan Direct Communication Processes must name each other explicitly send P message send a message to process P Receive Q message receive a message from process Q 28 April 2022 Copyright Virtual University of Pakistan Direct .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.