Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / CSD_Strategy / ThreadPool3 / Foo_i.cpp
blob1f87afbdb21eb4117d39a3395d098a3beb471452
1 #include "Foo_i.h"
2 #include "OrbShutdownTask.h"
5 Foo_i::Foo_i(unsigned num_clients)
6 : value_(0),
7 num_clients_(num_clients)
12 Foo_i::~Foo_i()
17 void
18 Foo_i::op1()
23 void
24 Foo_i::op2(CORBA::Long value)
26 this->value_ = value;
30 CORBA::Long
31 Foo_i::op3()
33 return this->value_;
37 void
38 Foo_i::op4(CORBA::Long value)
40 this->value_ = value;
44 void
45 Foo_i::op5()
47 throw FooException();
51 void
52 Foo_i::done()
54 unsigned num_left = --this->num_clients_;
56 if (num_left == 0)
58 if (TheOrbShutdownTask::instance()->open(0) != 0)
60 ACE_ERROR((LM_ERROR, "(%P|%t)Foo_i::done: "
61 "failed to create orb shutdown thread.\n"));