liveBook · Manning

Thread communication

Thread communication is the exchange of data, information, or coordination signals between concurrently executing threads.

How 2 Manning books explain it

Learn Concurrent Programming with Go

Thread communication is the exchange of information or coordination signals between concurrently executing threads.

How it is used
Coordinates concurrent executions through shared memory, synchronization, or message passing.
How deep it goes
Defines two communication models and shared-memory behavior, while deferring detailed synchronization errors and channel construction.
Examples
Uses painters sharing a canvas, global-variable changes, private stacks, and Go channels as concrete illustrations.
What you can do after
Evaluate whether shared memory or message passing fits a concurrent problem and recognize why synchronization is necessary.

Read how Learn Concurrent Programming with Go explains thread communication →

Grokking GPU Programming

Thread communication is the exchange of data between threads during concurrent execution.

How it is used
Uses shared memory to pass data between threads during execution within a block.
How deep it goes
Explains block scope and barrier placement, while noting that synchronization across blocks requires separate kernel launches.
Examples
Shows Thread 0 writing a shared-memory value for Thread 5 to read.
What you can do after
Apply it via CUDA shared memory and __syncthreads() to communicate safely between threads in one block.

Read how Grokking GPU Programming explains thread communication →

What to know first

Related concepts

Questions about thread communication

What is thread communication?

Thread communication is the exchange of data, information, or coordination signals between concurrently executing threads.

Which Manning books explain thread communication?

Learn Concurrent Programming with Go and Grokking GPU Programming.

What should I know before learning thread communication?

Manning books that teach thread communication usually introduce hardware register first.

What is the difference between thread communication and interprocess communication?

Thread communication is the exchange of data, information, or coordination signals between concurrently executing threads. Interprocess communication is the exchange of data or coordination signals between independently executing processes through defined mechanisms.

What is thread communication a kind of?

Thread communication is a kind of communication. Communication is the exchange of information, meaning, or signals between people, groups, agents, devices, or software components.

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.