1 #ifndef __MLP_RUNTIME__
2 #define __MLP_RUNTIME__
7 #include "psemaphore.h"
10 // forward delcarations
11 //struct SESErecord_t;
14 // note that this record is never used other than
15 // to cast a customized record and have easy access
16 // the common fields listed here
17 typedef struct SESErecord_t {
19 // the identifier for the class of sese's that
20 // are instances of one particular static code block
23 // the lock guards the following data SESE's
24 // use to coordinate with one another
26 struct Queue* forwardList;
33 typedef struct SESEvarSrc_t {
40 // simple mechanical allocation and
41 // deallocation of SESE records
42 void* mlpCreateSESErecord( int classID, int size );
43 void mlpDestroySESErecord( void* seseRecord );
46 // main library functions
48 void mlpIssue( void* seseRecord );
49 void mlpStall( void* seseRecord );
52 #endif /* __MLP_RUNTIME__ */