summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB.i')
-rw-r--r--TAO/tao/ORB.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/TAO/tao/ORB.i b/TAO/tao/ORB.i
index 70b65e523b2..0b5baf8ecde 100644
--- a/TAO/tao/ORB.i
+++ b/TAO/tao/ORB.i
@@ -247,6 +247,20 @@ CORBA_WString_out::ptr (void)
// ORB specific
// ---------------------------------------------------------------------------
+ACE_INLINE void
+CORBA_ORB::should_shutdown (int value)
+{
+ ACE_GUARD (ACE_Lock, monitor, *this->shutdown_lock_);
+ this->should_shutdown_ = value;
+}
+
+ACE_INLINE int
+CORBA_ORB::should_shutdown (void)
+{
+ ACE_GUARD_RETURN (ACE_Lock, monitor, *this->shutdown_lock_, -1);
+ return this->should_shutdown_;
+}
+
ACE_INLINE CORBA::ULong
CORBA_ORB::_incr_refcnt (void)
{