69
70
// Its a constant battle to feed yourself
72
76
// Get the fork to our left
73
77
[forks[chair] lockWhenCondition:FOOD_SERVED];
75
79
// Get the fork to our right
76
80
[forks[(chair + 1) % 5] lockWhenCondition:FOOD_SERVED];
81
87
for (i = 0;i < 100000; ++i)
90
96
// Drop the fork to our left