1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// -*- C++ -*- // $Id$ #include "ace/Barrier.h" #include "Barrier_Guard.h" Barrier_Guard::Barrier_Guard (ACE_Barrier &barrier) : barrier_ (barrier) { } Barrier_Guard::~Barrier_Guard (void) { barrier_.wait (); }