barriers: add multi-machine barrier support

Introduce a new barrier object.  This is designed to allow a number
of machines to coordinate timewise.  A classic example would be a
client server test where we want the server to initialise before
the client attempts to talk to it.

When the barrier is envoked one of the machine is nominated as
master (the first in the sorted member list).  This then accepts
connections from the other members.  When all members have checked
in the master checks that all of the members are still there.
If they are all members are then released.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@204 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed
tree: 98d35af799848d77cc16ef8d896fda5505146fd8
  1. bin/
  2. deps/
  3. profilers/
  4. samples/
  5. tests/
  6. tools/
  7. DCO
  8. LICENSE