fixed: ThreadMenager should use Lock/Unlock in StartAll() method

added: Job class (system->job object)
       a general mechanism for jobs (by using PT::Space as a job structure)
       WINIX_JOB plugin message will be sent with a pointer to PT::Space



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@829 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-04-25 22:24:37 +00:00
parent baf10a9ba9
commit 1da1eef768
19 changed files with 1323 additions and 958 deletions

View File

@@ -11,6 +11,7 @@
#define headerfile_winix_core_system
#include <ctime>
#include "job.h"
#include "dirs.h"
#include "mounts.h"
#include "db/db.h"
@@ -69,6 +70,10 @@ public:
// thread management
ThreadManager thread_manager;
// jobs
Job job;
void SetCur(Cur * pcur);
void SetConfig(Config * pconfig);
void SetDb(Db * pdb);