Concurrency Flashcards
1
Q
Why?
Why do we need concurrency, anyway? Explain.
A
2
Q
Testing Concurrency:
Why is testing multithreaded/concurrent code so difficult?
A
3
Q
Race Conditions:
What is a race condition? Code an example, using whatever language you like.
A
4
Q
Deadlocks:
What is a deadlock? Would you be able to write some code that is affected by deadlocks?
A
5
Q
Process Starvation:
What is process starvation? If you need it, let’s review its definition.
A
6
Q
Free Algorithm:
What is a wait-free algorithm?
A