Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
diff VMS.h @ 226:ea70fa57776e
fixed last bug that shows up in sequential mode -- still a race of some kind
| author | Some Random Person <seanhalle@yahoo.com> |
|---|---|
| date | Thu, 15 Mar 2012 05:29:07 -0700 |
| parents | 309559064073 |
| children | 5c475c4b7b49 |
line diff
1.1 --- a/VMS.h Thu Mar 15 04:11:55 2012 -0700 1.2 +++ b/VMS.h Thu Mar 15 05:29:07 2012 -0700 1.3 @@ -140,7 +140,11 @@ 1.4 * (because -O3 messes with things otherwise) 1.5 */ 1.6 typedef struct 1.7 - { 1.8 + { //The offset of these fields is hard-coded into assembly 1.9 + void *coreCtlrReturnPt; //offset of field used in asm 1.10 + int32 masterLock __align_to_cacheline__; //used in asm 1.11 + 1.12 + //below this, no asm uses the field offsets 1.13 SlaveAssigner slaveAssigner; 1.14 RequestHandler requestHandler; 1.15 1.16 @@ -152,10 +156,7 @@ 1.17 MallocArrays *freeLists; 1.18 int32 amtOfOutstandingMem; //total currently allocated 1.19 1.20 - void *coreCtlrReturnPt;//addr to jump to to re-enter coreCtlr 1.21 - 1.22 int32 setupComplete; 1.23 - int32 masterLock __align_to_cacheline__; 1.24 GateStruc *workStealingGates[ NUM_CORES ]; //concurrent work-steal 1.25 int32 workStealingLock; 1.26
