Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.h @ 29:0e008278fe3c
Works Sequentially -- took out all threads and debugged -- works
| author | Me |
|---|---|
| date | Wed, 28 Jul 2010 13:12:10 -0700 |
| parents | 8b9e4c333fe6 |
| children | c8823e0bb2b4 |
line diff
1.1 --- a/VMS.h Mon Jul 26 16:42:59 2010 -0700 1.2 +++ b/VMS.h Wed Jul 28 13:12:10 2010 -0700 1.3 @@ -19,7 +19,8 @@ 1.4 #define NUM_CORES 4 1.5 1.6 // make double-num-cores scheduling slots, plus extra for master 1.7 -#define NUM_SCHED_SLOTS (2 * NUM_CORES + 1) 1.8 +//#define NUM_SCHED_SLOTS (2 * NUM_CORES + 1) 1.9 +#define NUM_SCHED_SLOTS 3 1.10 1.11 //128K stack.. compromise, want 10K virtPr 1.12 #define VIRT_PROCR_STACK_SIZE 0x10000 1.13 @@ -117,7 +118,7 @@ 1.14 void *semanticEnv; 1.15 void *OSEventStruc; //for future, when add I/O to BLIS 1.16 1.17 - void *coreLoopShutDownPt; //addr to jump to to shut down a coreLoop 1.18 + void *coreLoopEndPt; //addr to jump to to shut down a coreLoop 1.19 1.20 int setupComplete; 1.21 } 1.22 @@ -203,7 +204,10 @@ 1.23 VMS__dissipate_procr( VirtProcr *prToDissipate ); 1.24 1.25 void 1.26 -VMS__shutdown(); 1.27 +VMS__handle_dissipate_reqst( VirtProcr *procrToDissipate ); 1.28 + 1.29 +void 1.30 +VMS__cleanup_after_shutdown(); 1.31 1.32 //============================= Statistics ================================== 1.33
