diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-21 02:26:39 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-21 02:26:39 +0000 |
commit | 8a4c9807588f22509ff8cb6e1c8053bcd09891f6 (patch) | |
tree | cca18086ec0fe6069671a127e79a4075aaa7299b /ace/OS.i | |
parent | d62aca68973713a5a3923b75ab8f107b1f841a62 (diff) | |
download | ATCD-8a4c9807588f22509ff8cb6e1c8053bcd09891f6.tar.gz |
ChangeLogTag: Tue Jul 20 21:23:19 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r-- | ace/OS.i | 31 |
1 files changed, 0 insertions, 31 deletions
@@ -6401,37 +6401,6 @@ ACE_TSS_Emulation::tss_base () #endif /* ! ACE_HAS_THREAD_SPECIFIC_STORAGE */ ACE_INLINE -u_int -ACE_TSS_Emulation::total_keys () -{ - return total_keys_; -} - - -ACE_INLINE -int -ACE_TSS_Emulation::next_key (ACE_thread_key_t &key) -{ - if (total_keys_ < ACE_TSS_THREAD_KEYS_MAX) - { -# if defined (ACE_HAS_NONSCALAR_THREAD_KEY_T) - ACE_OS::memset (&key, 0, sizeof (ACE_thread_key_t)); - ACE_OS::memcpy (&key, &total_keys_, sizeof (u_int)); -# else - key = total_keys_; -# endif /* ACE_HAS_NONSCALAR_THREAD_KEY_T */ - - ++total_keys_; - return 0; - } - else - { - key = ACE_OS::NULL_key; - return -1; - } -} - -ACE_INLINE ACE_TSS_Emulation::ACE_TSS_DESTRUCTOR ACE_TSS_Emulation::tss_destructor (const ACE_thread_key_t key) { |