Tinker Multi-agent systems

by Samy (Kondasamy Jayaraman)

..................

2 cords run from the board to helper desks; the catalogues wait on the cart.

Chapter 5 of 7

Waiting on each other

Ines now wants a euro price list from 8 catalogues. Two helpers split them, but each needs something the other has.

This chapter: What happens when two helpers wait on each other?

About this chapter

You will learn

  • Two helpers waiting on each other never finish
  • A timeout lets the lead step in
  • Work that must talk suits one agent

Words you’ll meet

Deadlock
Two workers each waiting for the other, so neither can go on.
Timeout
A limit on how long to wait before giving up and doing something else.

Step 1 of 5

Desk 1 needs desk 2’s euro rate sheet; desk 2 needs desk 1’s supplier list.

Tap the switchboard, or press Run.

Lamps 1 and 2 blink at each other on hold, and no report reached the tray.