Professional Documents
Culture Documents
Too Much Milk: Person A
Too Much Milk: Person A
Person A
3:00 Arrive home: no milk
3:05 Leave for store
3:10 Arrive at store
3:15 Leave store
3:20 Arrive home, put milk away
if (!GotMilk) {
if (NoNote) {
Leave Note;
Buy Milk;
Remove Note;
}
}
Thread A: Thread B:
if (NoNote) { if (Note) {
if (!GotMilk) { if (!GotMilk) {
Buy Milk; Buy Milk;
} }
Leave Note; Remove Note;
} }
Thread A: Thread B:
Thread A: Thread B: