Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > SSR_impls > SSR__MC_shared_impl
diff 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 |
line diff
1.1 --- a/SSR.h Mon Mar 19 10:02:54 2012 -0700 1.2 +++ b/SSR.h Sun Aug 26 02:49:34 2012 -0700 1.3 @@ -132,6 +132,18 @@ 1.4 SSRSemEnv; 1.5 1.6 1.7 +typedef struct _DKUPiece DKUPiece; 1.8 + 1.9 +typedef DKUPiece * (*DKUDividerFn ) ( DKUPiece * ); 1.10 + 1.11 +struct _DKUPiece 1.12 + { 1.13 + void *workData; 1.14 + DKUPiece **subPieces; 1.15 + void *infoForUndiv; //app creates own struct and casts 1.16 + }; 1.17 +//DKUPiece 1.18 + 1.19 typedef struct _TransListElem TransListElem; 1.20 struct _TransListElem 1.21 { 1.22 @@ -225,6 +237,21 @@ 1.23 SSR__receive_from_to( SlaveVP *sendPr, SlaveVP *receiveSlv ); 1.24 1.25 1.26 + 1.27 +//=========================== DKU ============================== 1.28 +void 1.29 +VMS_App__register_DKU_divider( DKUID ID, DKUDividerFn dividerFn, 1.30 + SlaveVP *animSlv ); 1.31 +void 1.32 +VMS_App__register_DKU_kernel( DKUID ID, DKUKernelFn kernelFn, 1.33 + SlaveVP *animSlv ); 1.34 + 1.35 +void 1.36 +VMS_App__register_DKU_undivider( DKUID ID, DKUUndividerFn undividerFn, 1.37 + SlaveVP *animSlv ); 1.38 + 1.39 + 1.40 + 1.41 //======================= Concurrency Stuff ====================== 1.42 void 1.43 SSR__start_fn_singleton( int32 singletonID, SlaveVP *animSlv );
