Changeset 1441 for code/branches/console/src/core/TclThreadManager.cc
- Timestamp:
- May 27, 2008, 6:29:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/core/TclThreadManager.cc
r1434 r1441 632 632 } 633 633 634 std::list< std::pair<std::string, std::string>> TclThreadManager::getThreadList() const634 std::list<unsigned int> TclThreadManager::getThreadList() const 635 635 { 636 636 boost::mutex::scoped_lock bundles_lock(TclThreadManager::getInstance().bundlesMutex_); 637 std::list< std::pair<std::string, std::string>> threads;637 std::list<unsigned int> threads; 638 638 for (std::map<unsigned int, TclInterpreterBundle*>::const_iterator it = this->interpreterBundles_.begin(); it != this->interpreterBundles_.end(); ++it) 639 { 640 std::string number = getConvertedValue<unsigned int, std::string>((*it).first); 641 threads.push_back(std::pair<std::string, std::string>(number, number)); 642 } 639 threads.push_back((*it).first); 643 640 return threads; 644 641 }
Note: See TracChangeset
for help on using the changeset viewer.