diff options
author | bala <balanatarajan@users.noreply.github.com> | 2000-11-06 20:32:01 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2000-11-06 20:32:01 +0000 |
commit | acf9e5be1e9cc0f9f63369d7777494e097e8f6e9 (patch) | |
tree | 3fc7f550ce21dc2f750f21f454c33d8205722cd9 /TAO/tao/default_resource.h | |
parent | 06d9f61549927e1b611ce6918aeca304986d926d (diff) | |
download | ATCD-acf9e5be1e9cc0f9f63369d7777494e097e8f6e9.tar.gz |
ChangeLogTag: Mon Nov 6 13:54:20 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/default_resource.h')
-rw-r--r-- | TAO/tao/default_resource.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/TAO/tao/default_resource.h b/TAO/tao/default_resource.h index 33dd502aa3d..baa81ad9e81 100644 --- a/TAO/tao/default_resource.h +++ b/TAO/tao/default_resource.h @@ -112,6 +112,7 @@ public: virtual TAO_Resource_Factory::Caching_Strategy connection_caching_strategy_type (void) const; virtual double purge_percentage (void) const; virtual TAO_Priority_Mapping *get_priority_mapping (void); + virtual ACE_Lock *create_cached_connection_lock (void); protected: virtual ACE_Reactor_Impl *allocate_reactor_impl (void) const; @@ -177,6 +178,16 @@ protected: // situation can occur when a resource factory derived from the // default one overrides the get_reactor() method but does not // override the reclaim_reactor() method. + +private: + enum Lock_Type + { + TAO_NULL_LOCK, + TAO_THREAD_LOCK + }; + + Lock_Type cached_connection_lock_type_; + // Type of lock used by the cached connector. }; #if defined (__ACE_INLINE__) |