Apr26 - CSE262: Programming Languages Instructor: Dr. Liang...

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

View Full Document Right Arrow Icon
CSE262: Programming Languages Instructor: Dr. Liang Cheng Department of Computer Science and Engineering Lehigh University April 26, 2007
Background image of page 1

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

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/26/07 Outline ± Recap ± Concurrency (Chapter 13) ± Summary
Background image of page 2
Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/26/07 Introduction to Program-unit Level Concurrency ± Task communication is necessary for task-execution synchronization ± Cooperation synchronization vs. ± Competition synchronization ± LAN printing example
Background image of page 3

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

View Full DocumentRight Arrow Icon
Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/26/07 Semaphores for Synchronization ± A semaphore is a data structure consisting of a counter and a queue for storing task descriptors ± Wait and release
Background image of page 4
Instructor: Dr. Liang Cheng CSE262: Programming Languages 04/26/07 Semaphores for Cooperation ± Example: buffer in the printing server ± The buffer is implemented as an ADT with the operations
Background image of page 5

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

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

This note was uploaded on 08/06/2008 for the course CSE 262 taught by Professor Cheng during the Spring '07 term at Lehigh University .

Page1 / 14

Apr26 - CSE262: Programming Languages Instructor: Dr. Liang...

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