Using Concurrency and Parallelism Effectively – I
Publisher: Bookboon.com
Published: 2013
ISBN-13: 9788740310382
Table of contents: title: Obsah; title: A Challenge – Thinking Parallel; title: Concurrency and Parallelism; title: Why Parallel?; title: A Multi-player Game Scenario; title: The Basic Concepts; title: Summary; title: Producer Consumer: A Fundamental Design Pattern; title: A Parallel Hello World; title: Hello Name; title: Processing Simple Streams of Data; title: Summary; title: Exercises; title: Process Networks: Build It Like Lego; title: Prefix Process; title: Successor Process; title: Parallel Copy; title: Generating a Sequence of Integers; title: Testing GNumbers; title: Creating a Running Sum; title: Generating the Fibonacci Sequence; title: Generating Squares of Numbers; title: Printing in Parallel; title: Summary; title: Exercises; title: Parallel Processes: Non Deterministic Input; title: Reset Numbers; title: Exercising ResetNumbers; title: Summary; title: Exercises; title: Extending the Alternative: A Scaling Device and Queues; title: The Scaling Device Definition; title: Managing A Circular Queue Using Alternative Pre-conditions; title: Summary; title: Exercises; title: Testing Parallel Systems: First Steps; title: Testing Hello World; title: Testing the Queue Process; title: The Queue Test Script; title: Summary; title: Exercises; title: Deadlock: An Introduction; title: Deadlocking Producer and Consumer; title: Multiple Network Servers; title: Summary; title: Exercises; title: Client-Server: Deadlock Avoidance by Design; title: Analysing the Queue Accessing System; title: Client and Server Design Patterns; title: Analysing the Crossed Servers Network; title: Deadlock Free Multi-Client and Servers Interactions; title: Summary; title: Exercises; title: External Events: Handling Data Sources; title: An Event Handling Design Pattern; title: Utilising the Event Handing Pattern; title: Analysing Performance Bounds; title: Simple Demonstration of the Event Handling System; title: Processing Multiple Event Streams; title: Summary; title: Exercises; title: Deadlock Revisited: Circular Structures; title: A First Sensible Attempt; title: An Improvement; title: A Final Resolution; title: Summary; title: Graphical User Interfaces: Brownian Motion; title: Active AWT Widgets; title: The Particle System – Brownian Motion; title: Summary; title: Exercises; title: Dining Philosophers: A Classic Problem; title: Naïve Management; title: Proactive Management; title: A More Sophisticated Canteen; title: Summary; title: Accessing Shared Resources: CREW; title: CrewMap; title: The DataBase Process; title: The Read Clerk Process; title: The Write Clerk Process; title: The Read Process; title: The Write Process; title: Creating the System; title: Summary; title: Challenge; title: Barriers and Buckets: Hand-Eye Co-ordination Test; title: Barrier Manager; title: Target Controller; title: Target Manager; title: Target Flusher; title: Display Controller; title: Gallery; title: Mouse Buffer; title: Mouse Buffer Prompt; title: Target Process; title: Running the System; title: Summary