added: to thread manager: names of the threads

the names are shown in the log file


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@837 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-05-19 17:04:33 +00:00
parent 0df088e1e2
commit db9d381a43
6 changed files with 55 additions and 19 deletions

View File

@@ -87,13 +87,13 @@ void System::Init()
image.SetDb(db);
image.SetConfig(config);
image.SetSystem(this);
thread_manager.Add(&image);
thread_manager.Add(&image, L"image");
crypt.SetConfig(config);
// SetSynchro will be called by ThreadManager itself
// job.ReadFromFile();
thread_manager.Add(&job);
thread_manager.Add(&job, L"job");
}