summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.i
diff options
context:
space:
mode:
authorChris Cleeland <chris.cleeland@gmail.com>1997-11-13 08:17:38 +0000
committerChris Cleeland <chris.cleeland@gmail.com>1997-11-13 08:17:38 +0000
commit8879226c8d04d00e28fe9a15bb4c4e740b2c8bf8 (patch)
tree7e5203725cbd2943127f0ea2af48429712372ce8 /ace/Object_Manager.i
parent2ca0cfef04028544ccf7e2149c6d7152e5dd37d7 (diff)
downloadATCD-8879226c8d04d00e28fe9a15bb4c4e740b2c8bf8.tar.gz
* ace/Signal.i: Changed to use new Object Manager member.
* ace/Object_Manager.cpp: Added a new member to the Object Manager--default_mask. This is the default signal mask employed by ACE_Sig_Set. Moving the object into the OM saves cycles b/c we only construct it once and just re-use every time. * ace/Handle_Set.cpp: Added two new macros--ACE_DIV_BY_WORDSIZE and ACE_MULT_BY_WORDSIZE--which either divide or multiply the argument by ACE_Handle_Set::WORDSIZE. The manner in which this is accomplished is governed by the #define ACE_USE_SHIFT_FOR_EFFICIENCY--when defined, ACE tries to use shifts to implement multiplication and division rather than actual multiply and divide operations. Currently this is disabled.
Diffstat (limited to 'ace/Object_Manager.i')
-rw-r--r--ace/Object_Manager.i8
1 files changed, 8 insertions, 0 deletions
diff --git a/ace/Object_Manager.i b/ace/Object_Manager.i
index def4ecb385a..9238a7f0f10 100644
--- a/ace/Object_Manager.i
+++ b/ace/Object_Manager.i
@@ -23,3 +23,11 @@ ACE_Object_Manager::at_exit (void *object,
cleanup_hook,
param);
}
+
+ACE_INLINE
+ACE_Sig_Set &
+ACE_Object_Manager::default_mask (void)
+{
+ return *ACE_Object_Manager::default_mask_p_;
+}
+