1 #include "TestCallback.h"
2 #include "ace/OS_NS_unistd.h"
4 TestCallback::TestCallback (CORBA::ORB_ptr orb
)
10 TestCallback::start_threads_and_block ()
12 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) client - start_threads_and_block\n"));
13 work_
.activate(THR_NEW_LWP
| THR_JOINABLE
| THR_INHERIT_SCHED
,10);
14 work_
.wait (); // blocks forever as the worker threads never end
18 TestCallback::test_call ()
20 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) client - test_call\n"));
24 TestCallback::shutdown ()
26 ACE_DEBUG ((LM_DEBUG
, "(%P|%t) client - test completed\n"));