diff options
Diffstat (limited to 'ACE/ace/DA_Strategy_Base.h')
-rw-r--r-- | ACE/ace/DA_Strategy_Base.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ACE/ace/DA_Strategy_Base.h b/ACE/ace/DA_Strategy_Base.h index 02ac40d9ef7..2b566d9b35c 100644 --- a/ACE/ace/DA_Strategy_Base.h +++ b/ACE/ace/DA_Strategy_Base.h @@ -21,7 +21,7 @@ #define DA_STRATEGY_BASE_H #include /**/ "ace/pre.h" -#include "ace/Hash_Map_Manager_T.h" +#include "ace/Hash_Map_Manager.h" #include "ace/Thread_Mutex.h" #include "ace/Atomic_Op_T.h" @@ -71,9 +71,9 @@ public: virtual bool is_deadlock_potential(AnnotationId handle)=0; virtual void grant(AnnotationId handle)=0; virtual void release(AnnotationId upcall_handle)=0; - int get_max_threads() { return num_avail_threads_}; - HASH_ANNOTATIONS_CONST_ITER get_annotations_iter(); - virtual int get_annotation (AnnotationId handle); + int get_max_threads() { return num_avail_threads_.value();} + HASH_ANNOTATIONS_CONST_ITER get_annotations_iter() const; + virtual int get_annotation (AnnotationId handle) const; virtual int add_annotation (AnnotationId handle, int annotation); virtual int remove_annotation (AnnotationId handle); virtual int set_annotations_table (const HASH_ANNOTATIONS_REVERSE_ITER& table); @@ -85,6 +85,10 @@ private: }; +#if defined (__ACE_INLINE__) +#include "ace/DA_Strategy_Base.inl" +#endif /* __ACE_INLINE__ */ + #include /**/ "ace/post.h" #endif /* DA_STRATEGY_BASE_H */
\ No newline at end of file |