Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / RTScheduling / VoidData / test_client.cpp
bloba33ab79e654c5f97dcc1de8154bb45ece38eeee6
1 #include "tao/RTScheduling/RTScheduler.h"
2 #include "testC.h"
3 #include "test.h"
5 int
6 ACE_TMAIN(int argc, ACE_TCHAR *argv[])
8 CORBA::ORB_var orb;
9 try
11 orb = CORBA::ORB_init (argc,
12 argv);
14 test_impl foo_i;
15 int something = 28;
16 foo_i.bar ((CORBA::VoidData) &something);
18 orb->destroy ();
20 catch (const CORBA::Exception& ex)
22 ex._tao_print_exception ("Caught exception:");
24 try
26 orb->shutdown ();
27 orb->destroy ();
29 catch (const CORBA::Exception& ex)
31 ex._tao_print_exception ("Caught exception while shutting down:");
32 return 1;
34 return 0;
37 return 0;