summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-25 09:23:22 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-03-25 09:23:22 +0000
commitcc52928075c1a1f6e2ba3b1dba3c04596efba2bd (patch)
tree4315b4967049c76059dc4f74ecc3d98c0fd43695
parent74a26493e1a13b0d60f285893682db44a0eb6e5a (diff)
downloadATCD-cc52928075c1a1f6e2ba3b1dba3c04596efba2bd.tar.gz
Add comments to explain the reference count in the
TAO_UIOP_Server_Connection_Handler.
-rw-r--r--TAO/tao/UIOP_Connect.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/UIOP_Connect.h b/TAO/tao/UIOP_Connect.h
index fb29c3d5582..9168504aecb 100644
--- a/TAO/tao/UIOP_Connect.h
+++ b/TAO/tao/UIOP_Connect.h
@@ -178,8 +178,11 @@ protected:
// Cached tss resources of the ORB that activated this object.
u_long refcount_;
- // Reference count, to avoid early deletes...
-
+ // Reference count. It is used to count nested upcalls on this
+ // svc_handler i.e., the connection can close during nested upcalls,
+ // you should not delete the svc_handler until the stack unwinds
+ // from the nested upcalls.
+
CORBA::Boolean lite_flag_;
// Should we use GIOP or GIOPlite
};