Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Crashed_Callback / Crashed_Callback.cpp
blobbd41b09e3f9fd38f9fb01ab2e7d796999b7ded6b
1 #include "Crashed_Callback.h"
3 Crashed_Callback::Crashed_Callback (void)
7 CORBA::Boolean
8 Crashed_Callback::are_you_there (void)
10 return 1;
13 void
14 Crashed_Callback::crash_now_please (void)
16 ACE_DEBUG ((LM_DEBUG,
17 "(%P|%t) Crashed_Callback - crashing application\n"));
18 // OpenVMS seems to hang and not abort and dump core when abort() is called
19 // here. This needs further
20 #if defined (DEC_CXX) || defined (ACE_OPENVMS)
21 ACE_OS::_exit();
22 #else
23 ACE_OS::abort();
24 #endif
28 void
29 Crashed_Callback::test_oneway (void)