{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ch9 - Chapter 9 Dynamic Systems Concurrency dynamic systems...

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

View Full Document Right Arrow Icon
Concurrency: dynamic systems 1 ©Magee/Kramer 2 nd Edition Chapter 9 Dynamic Systems
Background image of page 1

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

View Full Document Right Arrow Icon
Concurrency: dynamic systems 2 ©Magee/Kramer 2 nd Edition Dynamic Systems Concepts : dynamic creation and deletion of processes Resource allocation example varying number of users and resources. master-slave interaction Models : static - fixed populations with cyclic behavior interaction Practice : dynamic creation and deletion of threads (# active threads varies during execution) Resource allocation algorithms Java join() method
Background image of page 2
9.1 Golf Club Program Expert players tend not to lose any golf balls and only hire one or two. Novice players hire more balls, so that they have spares during the game in case of loss. However, they buy replacements for lost balls so that they return the same number that they originally hired. Player d4 is waiting for four balls Players at a Golf Club hire golf balls and then return them after use.
Background image of page 3

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

View Full Document Right Arrow Icon