Changeset 1682 for code/branches/core3/src/core/TclThreadManager.cc
- Timestamp:
- Aug 30, 2008, 12:40:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core3/src/core/TclThreadManager.cc
r1594 r1682 72 72 } 73 73 74 TclThreadManager::~TclThreadManager() 75 { 76 unsigned int threadID; 77 { 78 boost::mutex::scoped_lock bundles_lock(this->bundlesMutex_); 79 if (this->interpreterBundles_.begin() == this->interpreterBundles_.end()) 80 return; 81 else 82 threadID = this->interpreterBundles_.begin()->first; 83 } 84 this->destroy(threadID); 85 } 86 74 87 TclThreadManager& TclThreadManager::getInstance() 75 88 {
Note: See TracChangeset
for help on using the changeset viewer.