Mercurial > cgi-bin > hgwebdir.cgi > VMS > VMS_Implementations > VMS_impls > VMS__MC_shared_impl
comparison VMS.h @ 205:cb888346c3e0
Changed include paths, but version still does not work because of accidental merge
| author | Merten Sach <msach@mailbox.tu-berlin.de> |
|---|---|
| date | Fri, 17 Feb 2012 18:28:59 +0100 |
| parents | 6db9e4898978 |
| children |
comparison
equal
deleted
inserted
replaced
| 92:69353e6ee338 | 94:644686a06c02 |
|---|---|
| 9 #ifndef _VMS_H | 9 #ifndef _VMS_H |
| 10 #define _VMS_H | 10 #define _VMS_H |
| 11 #define _GNU_SOURCE | 11 #define _GNU_SOURCE |
| 12 | 12 |
| 13 #include "VMS_primitive_data_types.h" | 13 #include "VMS_primitive_data_types.h" |
| 14 #include "../../C_Libraries/DynArray/DynArray.h" | 14 #include "C_Libraries/DynArray/DynArray.h" |
| 15 #include "../../C_Libraries/Hash_impl/PrivateHash.h" | 15 #include "C_Libraries/Hash_impl/PrivateHash.h" |
| 16 #include "../../C_Libraries/Histogram/Histogram.h" | 16 #include "C_Libraries/Histogram/Histogram.h" |
| 17 #include "../../C_Libraries/Queue_impl/PrivateQueue.h" | 17 #include "C_Libraries/Queue_impl/PrivateQueue.h" |
| 18 #include "vmalloc.h" | 18 #include "vmalloc.h" |
| 19 | 19 |
| 20 #include <pthread.h> | 20 #include <pthread.h> |
| 21 #include <sys/time.h> | 21 #include <sys/time.h> |
| 22 | 22 |
| 23 //================= Defines: included from separate files ================= | 23 //================= Defines: included from separate files ================= |
| 24 // | 24 // |
| 25 // Note: ALL defines are in other files, none are in here | 25 // Note: ALL defines are in other files, none are in here |
| 26 // | 26 // |
| 27 #include "VMS_defs.h" | 27 #include "VMS_defs.h" |
| 28 | |
| 29 | 28 |
| 30 | 29 |
| 31 //================================ Typedefs ================================= | 30 //================================ Typedefs ================================= |
| 32 // | 31 // |
| 33 typedef unsigned long long TSCount; | 32 typedef unsigned long long TSCount; |
| 48 typedef void (*RequestHandler) ( SlaveVP *, void * ); //prWReqst, semEnv | 47 typedef void (*RequestHandler) ( SlaveVP *, void * ); //prWReqst, semEnv |
| 49 typedef void (*VirtProcrFnPtr) ( void *, SlaveVP * ); //initData, animPr | 48 typedef void (*VirtProcrFnPtr) ( void *, SlaveVP * ); //initData, animPr |
| 50 typedef void VirtProcrFn ( void *, SlaveVP * ); //initData, animPr | 49 typedef void VirtProcrFn ( void *, SlaveVP * ); //initData, animPr |
| 51 typedef void (*ResumeVPFnPtr) ( SlaveVP *, void * ); | 50 typedef void (*ResumeVPFnPtr) ( SlaveVP *, void * ); |
| 52 | 51 |
| 52 //============================= Statistics ================================== | |
| 53 | |
| 54 inline TSCount getTSCount(); | |
| 53 | 55 |
| 54 //============= Request Related =========== | 56 //============= Request Related =========== |
| 55 // | 57 // |
| 56 | 58 |
| 57 enum VMSReqstType //avoid starting enums at 0, for debug reasons | 59 enum VMSReqstType //avoid starting enums at 0, for debug reasons |
