The Pizza Problem – Concurrent Programming

A group of students are studying for an exam. The students can study only while eating pizza. Each student executes the following loop:

while (true) {
    pick up a slice of pizza;
    study while eating the pizza;
}

Continue reading The Pizza Problem – Concurrent Programming

Advertisements