diff options
Diffstat (limited to 'TAO/tao/orbobj.i')
-rw-r--r-- | TAO/tao/orbobj.i | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/TAO/tao/orbobj.i b/TAO/tao/orbobj.i deleted file mode 100644 index 1f901da8c48..00000000000 --- a/TAO/tao/orbobj.i +++ /dev/null @@ -1,59 +0,0 @@ -// -*- c++ -*- -// -// $Id$ - -// CORBA dup/release build on top of COM's (why not). - -ACE_INLINE void -CORBA::release (CORBA::ORB_ptr obj) -{ - if (obj) - obj->Release (); -} - -ACE_INLINE ULONG __stdcall -CORBA_ORB::AddRef (void) -{ - ACE_MT (ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, guard, lock_, 0)); - - return refcount_++; -} - -ACE_INLINE CORBA::ORB_ptr -CORBA_ORB::_duplicate (CORBA::ORB_ptr obj) -{ - if (obj) - obj->AddRef (); - return obj; -} - -// Null pointers represent nil objects. - -ACE_INLINE CORBA::ORB_ptr -CORBA_ORB::_nil (void) -{ - return 0; -} - -ACE_INLINE CORBA::Boolean -CORBA::is_nil (CORBA::ORB_ptr obj) -{ - return (CORBA::Boolean) (obj == 0); -} - -ACE_INLINE CORBA::Boolean -CORBA_ORB::work_pending (void) -{ - // There's ALWAYS work to do ;-) - return CORBA::B_TRUE; -} - -ACE_INLINE void -CORBA_ORB::shutdown (CORBA::Boolean wait_for_completion) -{ - ACE_UNUSED_ARG (wait_for_completion); - - this->should_shutdown_ = CORBA::B_TRUE; - TAO_ORB_Core_instance ()->reactor ()->wakeup_all_threads (); - return; -} |