Added: Some comments

--HG--
branch : build_pipeline_v3
hg/feature/build_pipeline_v3
kaetemi 12 years ago
parent 3384e1290d
commit 9bc5ee2399

@ -69,8 +69,10 @@ struct CFileError
{ {
public: public:
uint32 Time; // The time when this error occured. uint32 Time; // The time when this error occured.
// TFileState Level; // Success, Warning, Error, Removal
std::string Project; std::string Project;
std::string Process; std::string Process;
// std::string Plugin;
std::string Message; std::string Message;
void serial(NLMISC::IStream &stream) throw (NLMISC::EStream); void serial(NLMISC::IStream &stream) throw (NLMISC::EStream);

@ -354,6 +354,9 @@ public:
virtual void updateDatabaseStatusByVector(NLNET::IModuleProxy *sender) virtual void updateDatabaseStatusByVector(NLNET::IModuleProxy *sender)
{ {
// FIXME: THIS MUST BE DONE ON A SEPERATE THREAD, IT HANGS WHILE ITERATING
// SWAP THE VECTOR CONTAINERS
//m_SlavesMutex.lock(); //m_SlavesMutex.lock();
CSlave *slave = m_Slaves[sender]; CSlave *slave = m_Slaves[sender];
if (slave == NULL) { nlerror("Received 'updateDatabaseStatusByVector' from unknown slave at '%s'", sender->getModuleName().c_str()); m_Slaves.erase(sender); /*m_SlavesMutex.unlock();*/ return; } if (slave == NULL) { nlerror("Received 'updateDatabaseStatusByVector' from unknown slave at '%s'", sender->getModuleName().c_str()); m_Slaves.erase(sender); /*m_SlavesMutex.unlock();*/ return; }

Loading…
Cancel
Save