Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2074_Regression / test.cpp
blob38907d6b9f8c04acbbaa32f4df5714d13de539fa
1 #include "tao/corba.h"
2 #include "ORB_Task.h"
4 int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
6 CORBA::ORB_var orb = CORBA::ORB_init (argc, argv);
8 ORB_Task worker (orb.in ());
9 worker.activate (THR_NEW_LWP | THR_JOINABLE,
10 10);
12 ACE_Time_Value tv (20, 0);
13 orb->run(tv);
15 orb->destroy ();
17 worker.thr_mgr ()->wait ();
19 return 0;