4 fix confusing phrase, with punctuation
source | link

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off, some distance away, and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.


I'll note that Dining Philosophers isn't a lot more difficult than the above, but probably not accessible to a five year old. Certainly open to one a few years older, though.

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.


I'll note that Dining Philosophers isn't a lot more difficult than the above, but probably not accessible to a five year old. Certainly open to one a few years older, though.

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table, some distance away, and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.


I'll note that Dining Philosophers isn't a lot more difficult than the above, but probably not accessible to a five year old. Certainly open to one a few years older, though.

3 added 243 characters in body
source | link

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.


I'll note that Dining Philosophers isn't a lot more difficult than the above, but probably not accessible to a five year old. Certainly open to one a few years older, though.

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.


I'll note that Dining Philosophers isn't a lot more difficult than the above, but probably not accessible to a five year old. Certainly open to one a few years older, though.

2 added 4 characters in body
source | link

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first andthen the process fails.

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, the Turtle gets to the table first and the process fails.

A lot of race conditions result from improper or unexpected interleaving of processes. Someone that age can probably understand the fable of the Turtle and the Hare.

Give the Hare a ball with instructions to run to a table a ways off and leave the ball on the table and return.

Tell the Turtle to go to the table, pick up the ball, and return with it.

Start the two "running" at the same time.

The Turtle has no instructions about waiting, since the proper interleaving is obvious.

Of course, if the Turtle gets to the table first then the process fails.

1
source | link