2 #include "ace/OS_NS_unistd.h"
7 : orb_ (CORBA::ORB::_duplicate (orb
))
8 , simulate_crashes_(simulate_crashes
)
14 Hello::short_sleep (void)
16 long count
= atomic_counter_
--;
21 ACE_DEBUG((LM_DEBUG
, "(%P|%t) Counter was %d\n", count
));
24 if(simulate_crashes_
&& count
== 0)
26 ACE_DEBUG((LM_DEBUG
, "Aborting!\n"));
27 ACE_Time_Value
tv(5, 0);