SlideShare ist ein Scribd-Unternehmen logo
1 von 16
บทที่  7 Classic Synchronization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
เบื้องหลัง  Background ,[object Object],[object Object],[object Object]
การแก้ไขปัญหาส่วนงานวิกฤต  Solution to Critical-Section Problem ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Algorithm 1 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Algorithm 2 ,[object Object],[object Object],[object Object],[object Object]
Algorithm 3 ,[object Object],[object Object],[object Object],[object Object]
การทำงานเชิงสัมพันธ์ของฮาร์ดแวร์  Synchronization Hardware ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ระบบอาณัติสัญญาณ  Semaphore ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
อาณัติสัญญาณโดยเครื่องมือเพื่อการทำงานเชิงสัมพันธ์แบบทั่วไป  Semaphore as General Synchronization Tool ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
การใช้งานอาณัติสัญญาณ  Semaphore Implementation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ในที่นี้จะไม่กล่าวถึงประสิทธิภาพ  Deadlock and Starvation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ปัญหาพื้นฐานของการทำงานเชิงสัมพันธ์  Classical Problems of Synchronization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ปัญหาดินนิ่งไฟโลโซเฟอร์  Dining-Philosophers Problem ,[object Object],[object Object]
การเฝ้าติดตาม  Monitors ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
ตัวแปรแบบมีเงื่อนไข   Condition Variables ,[object Object],[object Object]
Monitor with condition variables

Weitere ähnliche Inhalte

Was ist angesagt?

Operating System Chapter 1
Operating System Chapter 1Operating System Chapter 1
Operating System Chapter 1Nuth Otanasap
 
1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ
1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ
1 ระบบคอมพิวเตอร์และระบบปฏิบัติการkanlayarat
 
10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)
10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)
10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)krissapat
 
3 ca-computer system structure
3 ca-computer system structure3 ca-computer system structure
3 ca-computer system structurekrissapat
 
รูปแบบการสอนดร.ทิศนา แขมณี
รูปแบบการสอนดร.ทิศนา แขมณีรูปแบบการสอนดร.ทิศนา แขมณี
รูปแบบการสอนดร.ทิศนา แขมณีParichart Ampon
 
โครงงานโปรเจ็คเวิร์ค
โครงงานโปรเจ็คเวิร์คโครงงานโปรเจ็คเวิร์ค
โครงงานโปรเจ็คเวิร์คNichakarnkvc
 
ตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learning
ตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learningตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learning
ตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learningrubtumproject.com
 
6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)
6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)
6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)krissapat
 
การ Normalization
การ Normalizationการ Normalization
การ Normalizationskiats
 
บทที่ 2 การจัดการข้อมูล
บทที่ 2 การจัดการข้อมูลบทที่ 2 การจัดการข้อมูล
บทที่ 2 การจัดการข้อมูลWanphen Wirojcharoenwong
 
ความหมายของโปรแกรมคอมพิวเตอร์
ความหมายของโปรแกรมคอมพิวเตอร์ความหมายของโปรแกรมคอมพิวเตอร์
ความหมายของโปรแกรมคอมพิวเตอร์tugkrung
 
เรื่องระบบปฏิบัติการ
เรื่องระบบปฏิบัติการเรื่องระบบปฏิบัติการ
เรื่องระบบปฏิบัติการพัน พัน
 
บทที่ 2 การฟัง
บทที่ 2 การฟังบทที่ 2 การฟัง
บทที่ 2 การฟังAj.Mallika Phongphaew
 
คัมภีร์ฉันทศาสตร์ ใหม่
คัมภีร์ฉันทศาสตร์ ใหม่ คัมภีร์ฉันทศาสตร์ ใหม่
คัมภีร์ฉันทศาสตร์ ใหม่ Kat Suksrikong
 
ระบบปฏิบัติการ
ระบบปฏิบัติการระบบปฏิบัติการ
ระบบปฏิบัติการKrusine soyo
 
CPU Scheduling
CPU  SchedulingCPU  Scheduling
CPU SchedulingHi Nana
 
แผนการเรียนรู้สุภาษิต
แผนการเรียนรู้สุภาษิตแผนการเรียนรู้สุภาษิต
แผนการเรียนรู้สุภาษิตyaowarat Lertpipatkul
 
ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์
ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์
ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์เทวัญ ภูพานทอง
 

Was ist angesagt? (20)

Operating System Chapter 1
Operating System Chapter 1Operating System Chapter 1
Operating System Chapter 1
 
1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ
1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ
1 ระบบคอมพิวเตอร์และระบบปฏิบัติการ
 
10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)
10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)
10 ca-mass-storage system structure (wichet p.'s conflicted copy 2012-12-17)
 
Ch08th
Ch08thCh08th
Ch08th
 
3 ca-computer system structure
3 ca-computer system structure3 ca-computer system structure
3 ca-computer system structure
 
รูปแบบการสอนดร.ทิศนา แขมณี
รูปแบบการสอนดร.ทิศนา แขมณีรูปแบบการสอนดร.ทิศนา แขมณี
รูปแบบการสอนดร.ทิศนา แขมณี
 
โครงงานโปรเจ็คเวิร์ค
โครงงานโปรเจ็คเวิร์คโครงงานโปรเจ็คเวิร์ค
โครงงานโปรเจ็คเวิร์ค
 
ตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learning
ตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learningตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learning
ตัวอย่างวิทยานิพนธ์บทที่ 1-2 E-learning
 
6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)
6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)
6 ca-virtual memory structure (wichet p.'s conflicted copy 2012-12-17)
 
การ Normalization
การ Normalizationการ Normalization
การ Normalization
 
บทที่ 2 การจัดการข้อมูล
บทที่ 2 การจัดการข้อมูลบทที่ 2 การจัดการข้อมูล
บทที่ 2 การจัดการข้อมูล
 
ความหมายของโปรแกรมคอมพิวเตอร์
ความหมายของโปรแกรมคอมพิวเตอร์ความหมายของโปรแกรมคอมพิวเตอร์
ความหมายของโปรแกรมคอมพิวเตอร์
 
เรื่องระบบปฏิบัติการ
เรื่องระบบปฏิบัติการเรื่องระบบปฏิบัติการ
เรื่องระบบปฏิบัติการ
 
บทที่ 2 การฟัง
บทที่ 2 การฟังบทที่ 2 การฟัง
บทที่ 2 การฟัง
 
คัมภีร์ฉันทศาสตร์ ใหม่
คัมภีร์ฉันทศาสตร์ ใหม่ คัมภีร์ฉันทศาสตร์ ใหม่
คัมภีร์ฉันทศาสตร์ ใหม่
 
ระบบปฏิบัติการ
ระบบปฏิบัติการระบบปฏิบัติการ
ระบบปฏิบัติการ
 
CPU Scheduling
CPU  SchedulingCPU  Scheduling
CPU Scheduling
 
สื่อผังมโนทัศน์
สื่อผังมโนทัศน์สื่อผังมโนทัศน์
สื่อผังมโนทัศน์
 
แผนการเรียนรู้สุภาษิต
แผนการเรียนรู้สุภาษิตแผนการเรียนรู้สุภาษิต
แผนการเรียนรู้สุภาษิต
 
ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์
ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์
ใบความรู้ที่ 2 เรื่อง องค์ประกอบของระบบคอมพิวเตอร์
 

Andere mochten auch

กองทุนท่าจีน
กองทุนท่าจีนกองทุนท่าจีน
กองทุนท่าจีนNuth Otanasap
 
4 ca-process structure
4 ca-process structure4 ca-process structure
4 ca-process structurekrissapat
 
Ec2009 ch12 legal ethical and social
Ec2009 ch12 legal ethical and socialEc2009 ch12 legal ethical and social
Ec2009 ch12 legal ethical and socialNuth Otanasap
 
Ec2009 ch01 overview of electronic commerce
Ec2009 ch01 overview of electronic commerceEc2009 ch01 overview of electronic commerce
Ec2009 ch01 overview of electronic commerceNuth Otanasap
 
Ec2009 ch11 electronic payment systems
Ec2009 ch11 electronic payment systemsEc2009 ch11 electronic payment systems
Ec2009 ch11 electronic payment systemsNuth Otanasap
 
2010 NZJEL Appreciative Inquiry In Action
2010 NZJEL Appreciative Inquiry In Action2010 NZJEL Appreciative Inquiry In Action
2010 NZJEL Appreciative Inquiry In ActionSmartNet
 
салтыков
салтыковсалтыков
салтыковnatacha0304
 
Paul Mueller_Resume
Paul Mueller_ResumePaul Mueller_Resume
Paul Mueller_ResumePaul Mueller
 
Elizabeth calleja cuadro
Elizabeth calleja cuadroElizabeth calleja cuadro
Elizabeth calleja cuadroelizabeth2017
 
Bryly - projekt eukacyjny
Bryly - projekt eukacyjnyBryly - projekt eukacyjny
Bryly - projekt eukacyjnyAnna Wołoszyn
 
Final FaceView Mask Presentation
Final FaceView Mask PresentationFinal FaceView Mask Presentation
Final FaceView Mask PresentationAlison Lillie
 
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...Matt Spradley
 
The State of Email and Marketing Automation in South-East Asia
The State of Email and Marketing Automation in South-East AsiaThe State of Email and Marketing Automation in South-East Asia
The State of Email and Marketing Automation in South-East AsiaEconsultancy
 

Andere mochten auch (18)

กองทุนท่าจีน
กองทุนท่าจีนกองทุนท่าจีน
กองทุนท่าจีน
 
4 ca-process structure
4 ca-process structure4 ca-process structure
4 ca-process structure
 
Ec2009 ch12 legal ethical and social
Ec2009 ch12 legal ethical and socialEc2009 ch12 legal ethical and social
Ec2009 ch12 legal ethical and social
 
Ec2009 ch01 overview of electronic commerce
Ec2009 ch01 overview of electronic commerceEc2009 ch01 overview of electronic commerce
Ec2009 ch01 overview of electronic commerce
 
Ec2009 ch11 electronic payment systems
Ec2009 ch11 electronic payment systemsEc2009 ch11 electronic payment systems
Ec2009 ch11 electronic payment systems
 
Os ch02
Os ch02Os ch02
Os ch02
 
Lecture9
Lecture9Lecture9
Lecture9
 
2010 NZJEL Appreciative Inquiry In Action
2010 NZJEL Appreciative Inquiry In Action2010 NZJEL Appreciative Inquiry In Action
2010 NZJEL Appreciative Inquiry In Action
 
салтыков
салтыковсалтыков
салтыков
 
Paul Mueller_Resume
Paul Mueller_ResumePaul Mueller_Resume
Paul Mueller_Resume
 
PTA Resume
PTA ResumePTA Resume
PTA Resume
 
Almacenamiento de Gas Natural
Almacenamiento de Gas NaturalAlmacenamiento de Gas Natural
Almacenamiento de Gas Natural
 
Elizabeth calleja cuadro
Elizabeth calleja cuadroElizabeth calleja cuadro
Elizabeth calleja cuadro
 
Bryly - projekt eukacyjny
Bryly - projekt eukacyjnyBryly - projekt eukacyjny
Bryly - projekt eukacyjny
 
Final FaceView Mask Presentation
Final FaceView Mask PresentationFinal FaceView Mask Presentation
Final FaceView Mask Presentation
 
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
How We Built a Mobile Electronic Health Record App Using Xamarin, Angular, an...
 
The State of Email and Marketing Automation in South-East Asia
The State of Email and Marketing Automation in South-East AsiaThe State of Email and Marketing Automation in South-East Asia
The State of Email and Marketing Automation in South-East Asia
 
MA_RUIDO
MA_RUIDOMA_RUIDO
MA_RUIDO
 

Ähnlich wie Ch07ath (20)

11
1111
11
 
Pit
PitPit
Pit
 
Computer past 1
Computer past 1Computer past 1
Computer past 1
 
Computer past 1
Computer past 1Computer past 1
Computer past 1
 
Com
ComCom
Com
 
Aa
AaAa
Aa
 
Aa
AaAa
Aa
 
Computer past 1
Computer past 1Computer past 1
Computer past 1
 
Lesson
LessonLesson
Lesson
 
777
777777
777
 
Com
ComCom
Com
 
Aa
AaAa
Aa
 
Lesson
LessonLesson
Lesson
 
Word4 24
Word4 24Word4 24
Word4 24
 
Work4-24
Work4-24Work4-24
Work4-24
 
ชุดที่ 2
ชุดที่ 2ชุดที่ 2
ชุดที่ 2
 
Word4 24
Word4 24Word4 24
Word4 24
 
ผังงาน (Flowchart)
ผังงาน (Flowchart)ผังงาน (Flowchart)
ผังงาน (Flowchart)
 
แบบทดสอบ O-net
แบบทดสอบ O-net แบบทดสอบ O-net
แบบทดสอบ O-net
 
Com element [compatibility mode]
Com element [compatibility mode]Com element [compatibility mode]
Com element [compatibility mode]
 

Mehr von Nuth Otanasap

มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้Nuth Otanasap
 
Ec2009 ch14 creating and launching
Ec2009 ch14 creating and launchingEc2009 ch14 creating and launching
Ec2009 ch14 creating and launchingNuth Otanasap
 
Ec2009 ch15 e commerce strategy
Ec2009 ch15 e commerce strategyEc2009 ch15 e commerce strategy
Ec2009 ch15 e commerce strategyNuth Otanasap
 
Ec2009 ch10 e commerce security
Ec2009 ch10 e commerce securityEc2009 ch10 e commerce security
Ec2009 ch10 e commerce securityNuth Otanasap
 
Ec2009 ch09 auctions
Ec2009 ch09 auctionsEc2009 ch09 auctions
Ec2009 ch09 auctionsNuth Otanasap
 
Ec2009 ch08 mobile commerce and pervasive computing
Ec2009 ch08 mobile commerce and pervasive computingEc2009 ch08 mobile commerce and pervasive computing
Ec2009 ch08 mobile commerce and pervasive computingNuth Otanasap
 
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...Nuth Otanasap
 

Mehr von Nuth Otanasap (20)

มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้มาตรฐานผลการเรียนรู้
มาตรฐานผลการเรียนรู้
 
SA Chapter 14
SA Chapter 14SA Chapter 14
SA Chapter 14
 
SA Chapter 13
SA Chapter 13SA Chapter 13
SA Chapter 13
 
SA Chapter 12
SA Chapter 12SA Chapter 12
SA Chapter 12
 
SA Chapter 11
SA Chapter 11SA Chapter 11
SA Chapter 11
 
SA Chapter 10
SA Chapter 10SA Chapter 10
SA Chapter 10
 
SA Chapter 9
SA Chapter 9SA Chapter 9
SA Chapter 9
 
SA Chapter 8
SA Chapter 8SA Chapter 8
SA Chapter 8
 
SA Chapter 7
SA Chapter 7SA Chapter 7
SA Chapter 7
 
SA Chapter 6
SA Chapter 6SA Chapter 6
SA Chapter 6
 
SA Chapter 5
SA Chapter 5SA Chapter 5
SA Chapter 5
 
SA Chapter 4
SA Chapter 4SA Chapter 4
SA Chapter 4
 
SA Chapter 3
SA Chapter 3SA Chapter 3
SA Chapter 3
 
SA Chapter 2
SA Chapter 2SA Chapter 2
SA Chapter 2
 
Ec2009 ch14 creating and launching
Ec2009 ch14 creating and launchingEc2009 ch14 creating and launching
Ec2009 ch14 creating and launching
 
Ec2009 ch15 e commerce strategy
Ec2009 ch15 e commerce strategyEc2009 ch15 e commerce strategy
Ec2009 ch15 e commerce strategy
 
Ec2009 ch10 e commerce security
Ec2009 ch10 e commerce securityEc2009 ch10 e commerce security
Ec2009 ch10 e commerce security
 
Ec2009 ch09 auctions
Ec2009 ch09 auctionsEc2009 ch09 auctions
Ec2009 ch09 auctions
 
Ec2009 ch08 mobile commerce and pervasive computing
Ec2009 ch08 mobile commerce and pervasive computingEc2009 ch08 mobile commerce and pervasive computing
Ec2009 ch08 mobile commerce and pervasive computing
 
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
Ec2009 ch07 e government e-learning e-supply chains collaborative commerce an...
 

Ch07ath