Safe Concurrent Programming In Java with CSP

5/8/00


Click here to start


Table of Contents

Safe Concurrent Programming In Java with CSP

Overview

Why Concurrent Programming?

Concurrent Threads in Java

Thread States

Thread States

Example Problem: unidirectional TSP (Hartley)

Example Problem: unidirectional TSP (Hartley)

Example Problem: unidirectional TSP (Hartley)

unidirectional TSP - parallel control

PPT Slide

PPT Slide

PPT Slide

unidirectional TSP - No Control -- Race Condition

Monitors in Java

Example: Barrier Synchronization

PPT Slide

PPT Slide

Alternate Solution

Classic Problem: Producer-Consumers with Buffer

"Wot, No Chickens!"

"Wot, No Chickens!"

PPT Slide

PPT Slide

PPT Slide

PPT Slide

"Wot, No Chickens!"

"Wot, No Chickens!"

"Wot, No Chickens!"

Problems with Java Monitors

Communicating Sequential Processes

Communicating Sequential Processes

Occam 2

Java with CSP (JCSP) (University of Kent)

PPT Slide

PPT Slide

"Legoland" Catalog

"Legoland" Catalog

PPT Slide

PPT Slide

A Blocking FIFO Buffer

PPT Slide

Java with CSP (JCSP) (University of Kent)

JCSP constructs

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

Unidirectional TSP - Using JCSP

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

JCSP Selection

"Wot, No Chickens!"

"Wot, No Chickens!"

"Wot, No Chickens!"

"Wot, No Chickens!"

"Wot, No Chickens!"

"Wot, No Chickens!"

"Wot, No Chickens!"

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

PPT Slide

CSP, Theory

CSP

Author: Kim Bruce

Email: kim@cs.williams.edu

Home Page: http://www.cs.williams.edu/~kim/cs334/

Download presentation source