High-level Synchronization

Slides:



Advertisements
Similar presentations
Data Communication and Networks Lecture 0 Administrivia September 7, 2006.
Advertisements

Introduction to OS & Computer organization © Prof. Aiman Hanna Department of Computer Science Concordia University Montreal, Canada.
Classical Mechanics phys. Dr Salwa al Saleh Office : B. 8 - Floor 5 - room739 Lectures : SMW 8am Office hours : Mon 11am-1pm and Sun 9-11am.
Comp 249 Programming Methodology Chapter 13 Interfaces & Inner Classes Dr. Aiman Hanna Department of Computer Science & Software Engineering Concordia.
Comp 248 Introduction to Programming Chapter 4 & 5 Defining Classes Part C Dr. Aiman Hanna Department of Computer Science & Software Engineering Concordia.
Memory Management & Virtual Memory © Dr. Aiman Hanna Department of Computer Science Concordia University Montreal, Canada.
Introduction to OS & Computer organization © Dr. Aiman Hanna Department of Computer Science Concordia University Montreal, Canada.
Comp 248 Introduction to Programming Chapter 6 Arrays Part A Dr. Aiman Hanna Department of Computer Science & Software Engineering Concordia University,
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
Networking CS 3470, Section 1 Sarah Diesburg
RAIK 283 Data Structures and Algorithms
Computer Network Fundamentals CNT4007C
Chapter 1 Functions Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Introduction to Operating Systems
High-level Synchronization
Computer Networks CNT5106C
Chapter 2 Limits Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Course Information Mark Stanovich Principles of Operating Systems
Data Communications and Networking
Math-254 Numerical Methods.
Comp 249 Programming Methodology
Condition Variable Implementation (**with correction of signal**)
Comp 249 Programming Methodology
Basic Synchronization Principles
Device Management & Deadlock
Synchronization Memory Management
Andy Wang Operating Systems COP 4610 / CGS 5765
Chapter 17 Linked Lists.
Chapter 19 Binary Search Trees.
Chapter 4 Inheritance.
Chapter 14 Graphs and Paths.
Copyright © Aiman Hanna All rights reserved
Breadth-First Search (BFS)
Comp 249 Programming Methodology
Memory Management & Virtual Memory
High-level Synchronization
The Problem You are writing a program that accepts from the command line a number and that number tells the application how many numbers to read from standard.
Synchronization Memory Management
Andy Wang Operating Systems COP 4610 / CGS 5765
Chapter 10 Datapath Subsystems.
Copyright © Aiman Hanna All rights reserved
Copyright © Aiman Hanna All rights reserved
Basic Synchronization Principles
Copyright © Aiman Hanna All rights reserved
Chapter 20 Hash Tables.
Copyright © 2011 Pearson Education, Inc
Andy Wang Operating Systems COP 4610 / CGS 5765
CSC227: Operating Systems
Chapter 5 Algorithm Analysis.
Copyright © Aiman Hanna All rights reserved
Andy Wang Operating Systems COP 4610 / CGS 5765
Basic Synchronization Principles (Continue)
Copyright © Aiman Hanna All rights reserved
The Facts to Be Explained
Basic Synchronization Principles (Continue)
Copyright © Aiman Hanna All rights reserved
Introduction: Some Representative Problems
Instructor: Xiuwen Liu Department of Computer Science
Scheduling & File Management
Andy Wang Operating Systems COP 4610 / CGS 5765
Circuit Characterization and Performance Estimation
The Classical Model with Many Goods
High-level Synchronization (Continue)
Chapter 2 Part 1 Data and Expressions.
Chapter 6 Dynamic Programming.
Device Management & Deadlock
Chapter 2 Reference Types.
Chapter 4 Greedy Algorithms.
Copyright © 2011 Pearson Education, Inc
Scheduling & File Management
Presentation transcript:

High-level Synchronization Operating Systems High-level Synchronization 1) These notes are © Aiman Hanna. All copyrights reserved. For more information please e-mail to: Contact@AimanHanna.com. 2) These notes are also based on: Operating Systems, 3rd edition by Garry Nutts, published by Addison Wesley, ISBN-10: 0201773449 | ISBN-13: 9780201773446 . These notes still totally enforce all copyrights for Nutts/ Addison Wesley. For more information on these rights, please refer to the original publication of the book. 3) VERY IMPORTANT: These notes are neither complete nor sufficient to study for the course. They are merely given so that you can follow the covered subjects. You should NEVER depend solely on these notes for your study. Any use of these notes that results in violation of any of the copyrights indicated above is strictly prohibited. © Dr. Aiman Hanna Department of Computer Science Concordia University Montreal, Canada Data Communications & Computer Networking, by: Aiman Hanna

Classical Synchronization Problems Solving the Busy-Tunnel (also referred to as the One-Way Tunnel) Problem Comments on this solutions and why it may fail Correct solution was given in class

Classical Synchronization Problems The Dining Philosophers Problem Discussion on different solutions which may lead to deadlock was also conducted

Complexity of Monitor Implementation Why is it difficult to implement monitors?

Where is this week coverage in the textbook? Chapter 9: Section 9.2 (from page 349 to 352) NOTE: parts of Section 9.3 were covered in early lectures. In specific, Message Passing Mechanisms, Mailboxes, Message Protocols & Deferred Message Copying (page 354 to 356 & page 358 to 359) were covered earlier in the course. Skip: skip the following parts of section 9.3: Page 352, 353 & Using the Send and Receive operations (page 356 to 358)