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

@@ -228,6 +228,25 @@
#define WINIX_BASE_URL_REDIRECT 31030
/*
messages sent from other threads
!! IMPROVE ME check if some above messages should be moved here
*/
// a job has to be done
// this is sent from the other thread (without locking)
// in p1 you have a pointer to PT::Space
// session is null
#define WINIX_JOB 31200
// values from 4000 - 4099 reserved for 'thread' plugin
// see plugins/thread/pluginmsg.h