summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/Bug_2074_Regression/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/orbsvcs/tests/Bug_2074_Regression/test.cpp')
-rw-r--r--trunk/TAO/orbsvcs/tests/Bug_2074_Regression/test.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/tests/Bug_2074_Regression/test.cpp b/trunk/TAO/orbsvcs/tests/Bug_2074_Regression/test.cpp
new file mode 100644
index 00000000000..915e7419e76
--- /dev/null
+++ b/trunk/TAO/orbsvcs/tests/Bug_2074_Regression/test.cpp
@@ -0,0 +1,22 @@
+// $Id$
+
+#include "tao/corba.h"
+#include "ORB_Task.h"
+
+int main( int argc, char* argv[] )
+{
+ CORBA::ORB_var orb = CORBA::ORB_init( argc, argv );
+
+ ORB_Task worker (orb.in ());
+ worker.activate (THR_NEW_LWP | THR_JOINABLE,
+ 10);
+
+ ACE_Time_Value tv (20, 0);
+ orb->run(tv);
+
+ orb->destroy ();
+
+ worker.thr_mgr ()->wait ();
+
+ return 0;
+}