Grokking Multithreading and Concurrency for Coding Interviews
0% completed
Barriers
Know the Vocabulary
This lesson uses the terms below many times. Read them once now, and come back here when a later section needs one.
- Barrier: A meeting point in the code for a fixed group of threads. Each thread that reaches it waits there. When the last thread of the group arrives, all of them continue together.
- Party: One of the threads that a barrier waits for. Java and Python say "party," and C# says "participant."
- Arrive: To reach the barrier and tell it so. A thread that arrives usually waits until the barrier opens.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%