liveBook · Manning

Communicating sequential process

Communicating Sequential Processes is a formal concurrency model in which independent sequential processes communicate through channels by exchanging messages.

How 2 Manning books explain it

Go in Action, Second Edition

Communicating sequential processes is a formal model of concurrent computation in which independently executing processes communicate through message-passing channels.

How it is used
Motivates Go’s built-in concurrency model as a way to coordinate independent work through messages.
How deep it goes
Defines CSP and illustrates its Go expression through channel operations and feed-processing code, without developing the formal model.
Examples
Uses concurrent feed fetching and article storage to demonstrate channel-based communication.
What you can do after
Apply it via Go goroutines and channels to pass values between concurrent functions.

Read how Go in Action, Second Edition explains communicating sequential process →

Learn Concurrent Programming with Go

Communicating sequential processes (CSP) is a formal concurrency model in which isolated sequential processes interact by exchanging messages through synchronized channels.

How it is used
Models concurrent Go programs as isolated goroutines communicating and synchronizing through channels.
How deep it goes
Defines isolated state, copied messages, synchronized channels, Go differences, and common channel patterns, while deferring deeper CSP detail.
Examples
Uses concurrent Go application diagrams and channel patterns including quit, pipeline, fan-in, fan-out, and broadcast.
What you can do after
Apply CSP-style concurrency in Go using goroutines, channels, pipelines, shutdown signals, and channel composition patterns.

Read how Learn Concurrent Programming with Go explains communicating sequential process →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.