80 likes | 264 Views
Nachos Project No.1. Build a Thread System. O.E.S. Tasks. Kthread.Join(); Condition Variable Alarm Class Communicator Class Priority Scheduling Boat Problem. Kthread.Join();. Kthread A. Kthread B. Kthread C. C.Join();. C.Join();. JoinList. A.Sleep();. B.Sleep();. A. B.
E N D
Nachos Project No.1 Build a Thread System O.E.S
Tasks • Kthread.Join(); • Condition Variable • Alarm Class • Communicator Class • Priority Scheduling • Boat Problem
Kthread.Join(); Kthread A Kthread B Kthread C C.Join(); C.Join(); JoinList A.Sleep(); B.Sleep(); A B
Kthread.Join(); Kthread A Kthread B Kthread C Finish(); JoinList A.Ready(); B.Ready(); A B
Boat Problem Oahu_child Oahu_adult Molokai_child Boat_child 다시 Sleep State Check
Boat Problem Oahu_child Oahu_adult Molokai_child Boat_child 다시 Sleep State Check
Boat Problem Oahu_child Oahu_adult Molokai_child Boat_child State Check