From 9bc5ee23996e2a10ab7e5e939f350b6d1678678e Mon Sep 17 00:00:00 2001 From: kaetemi Date: Sun, 29 Jul 2012 15:46:38 +0200 Subject: [PATCH] Added: Some comments --HG-- branch : build_pipeline_v3 --- code/nel/tools/pipeline/service/database_status.h | 2 ++ code/nel/tools/pipeline/service/module_pipeline_master.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/code/nel/tools/pipeline/service/database_status.h b/code/nel/tools/pipeline/service/database_status.h index da868da6b..e656bdc58 100644 --- a/code/nel/tools/pipeline/service/database_status.h +++ b/code/nel/tools/pipeline/service/database_status.h @@ -69,8 +69,10 @@ struct CFileError { public: uint32 Time; // The time when this error occured. + // TFileState Level; // Success, Warning, Error, Removal std::string Project; std::string Process; + // std::string Plugin; std::string Message; void serial(NLMISC::IStream &stream) throw (NLMISC::EStream); diff --git a/code/nel/tools/pipeline/service/module_pipeline_master.cpp b/code/nel/tools/pipeline/service/module_pipeline_master.cpp index cf3a4487e..7d8850da0 100644 --- a/code/nel/tools/pipeline/service/module_pipeline_master.cpp +++ b/code/nel/tools/pipeline/service/module_pipeline_master.cpp @@ -354,6 +354,9 @@ public: 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(); 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; }