Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
comparison SSR.h @ 78:0d04c3e608cc
Creating a new branch for development of the DKU Pattern
| author | Sean Halle <seanhalle@yahoo.com> |
|---|---|
| date | Sun, 26 Aug 2012 02:49:34 -0700 |
| parents | 8882e795016d |
| children | ee8510009267 |
comparison
equal
deleted
inserted
replaced
| 27:2afe04773d11 | 31:7ea7d4850ffd |
|---|---|
| 130 int shutdownInitiated; | 130 int shutdownInitiated; |
| 131 } | 131 } |
| 132 SSRSemEnv; | 132 SSRSemEnv; |
| 133 | 133 |
| 134 | 134 |
| 135 typedef struct _DKUPiece DKUPiece; | |
| 136 | |
| 137 typedef DKUPiece * (*DKUDividerFn ) ( DKUPiece * ); | |
| 138 | |
| 139 struct _DKUPiece | |
| 140 { | |
| 141 void *workData; | |
| 142 DKUPiece **subPieces; | |
| 143 void *infoForUndiv; //app creates own struct and casts | |
| 144 }; | |
| 145 //DKUPiece | |
| 146 | |
| 135 typedef struct _TransListElem TransListElem; | 147 typedef struct _TransListElem TransListElem; |
| 136 struct _TransListElem | 148 struct _TransListElem |
| 137 { | 149 { |
| 138 int32 transID; | 150 int32 transID; |
| 139 TransListElem *nextTrans; | 151 TransListElem *nextTrans; |
| 223 | 235 |
| 224 void * | 236 void * |
| 225 SSR__receive_from_to( SlaveVP *sendPr, SlaveVP *receiveSlv ); | 237 SSR__receive_from_to( SlaveVP *sendPr, SlaveVP *receiveSlv ); |
| 226 | 238 |
| 227 | 239 |
| 240 | |
| 241 //=========================== DKU ============================== | |
| 242 void | |
| 243 VMS_App__register_DKU_divider( DKUID ID, DKUDividerFn dividerFn, | |
| 244 SlaveVP *animSlv ); | |
| 245 void | |
| 246 VMS_App__register_DKU_kernel( DKUID ID, DKUKernelFn kernelFn, | |
| 247 SlaveVP *animSlv ); | |
| 248 | |
| 249 void | |
| 250 VMS_App__register_DKU_undivider( DKUID ID, DKUUndividerFn undividerFn, | |
| 251 SlaveVP *animSlv ); | |
| 252 | |
| 253 | |
| 254 | |
| 228 //======================= Concurrency Stuff ====================== | 255 //======================= Concurrency Stuff ====================== |
| 229 void | 256 void |
| 230 SSR__start_fn_singleton( int32 singletonID, SlaveVP *animSlv ); | 257 SSR__start_fn_singleton( int32 singletonID, SlaveVP *animSlv ); |
| 231 | 258 |
| 232 void | 259 void |
