Concurrency Flashcards

1
Q

Why?

Why do we need concurrency, anyway? Explain.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Testing Concurrency:

Why is testing multithreaded/concurrent code so difficult?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Race Conditions:

What is a race condition? Code an example, using whatever language you like.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Deadlocks:

What is a deadlock? Would you be able to write some code that is affected by deadlocks?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Process Starvation:

What is process starvation? If you need it, let’s review its definition.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Free Algorithm:

What is a wait-free algorithm?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly