diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:18:58 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-25 22:18:58 +0000 |
commit | 7a5fe8ce23ac50450b804cf0183c773565ae7cef (patch) | |
tree | 220a38a6627619d1386897d42757a140b9de448f /TAO/tao/orbobj.i | |
parent | 87b0987cad99cf45cd5d9e03cd1cefbaaec4ef2a (diff) | |
download | ATCD-ACE-4_4.tar.gz |
This commit was manufactured by cvs2svn to create branch 'ACE-4_4'.ACE-4_4
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; -} |