diff options
author | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-12-12 22:03:19 +0000 |
---|---|---|
committer | iliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-12-12 22:03:19 +0000 |
commit | 7caa54fc9b07726b9444444f27f0ff0e6b307ee3 (patch) | |
tree | 5d26bb07a37c162c5637035dd3c719549947077d /TAO/tao/TAO_Internal.cpp | |
parent | 6c4bf2536ba341c7f7efddc910a9a3b83cd61e02 (diff) | |
download | ATCD-7caa54fc9b07726b9444444f27f0ff0e6b307ee3.tar.gz |
ChangeLogTag: Tue Dec 12 21:56:03 UTC 2006 Iliyan Jeliazkov <iliyan@ociweb.com>
Diffstat (limited to 'TAO/tao/TAO_Internal.cpp')
-rw-r--r-- | TAO/tao/TAO_Internal.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/TAO/tao/TAO_Internal.cpp b/TAO/tao/TAO_Internal.cpp index 5aa0364f66d..95ebc263818 100644 --- a/TAO/tao/TAO_Internal.cpp +++ b/TAO/tao/TAO_Internal.cpp @@ -177,14 +177,8 @@ class TAO_Ubergestalt_Ready_Condition public: static TAO_Ubergestalt_Ready_Condition* instance (void) { - // The first thread to get here will initialize the static - // local. Any subsequent threads synchronizaton will be handled by - // TAO_Singleton - static TAO_Ubergestalt_Ready_Condition *i_ = - TAO_Singleton <TAO_Ubergestalt_Ready_Condition, - TAO_SYNCH_RECURSIVE_MUTEX>::instance (); - - return i_; + return TAO_Singleton <TAO_Ubergestalt_Ready_Condition, + TAO_SYNCH_RECURSIVE_MUTEX>::instance (); }; TAO_Ubergestalt_Ready_Condition (void) |