conc.quest

BEGIN YOUR CONCURRENT ADVENTURE

THREAD FORK

Goroutines

Lightweight threads that execute concurrently, sharing the same address space.

Channels

Typed conduits for communication between goroutines with synchronization.

Futures

Proxies for values not yet computed, enabling non-blocking async patterns.

Promises

Writable counterparts to futures that resolve with a value or error.

Actors

Isolated units of computation that communicate through message passing.

Mailboxes

Ordered queues that buffer messages for each actor to process sequentially.

RACE CONDITION

RACE CONDITION

Thread A

Reads shared state

Thread B

Writes shared state

MUTEX LOCK

Only one thread passes at a time