00001 00007 #ifndef BACKEND_H 00008 #define BACKEND_H 00009 00010 /* Base class for providing an API to a front end interface. */ 00011 00012 class BackEnd { 00013 public: 00014 00015 static void init(int argc, char **argv); // Must call at program startup 00016 static void exit(void); // Must call at program shutdown 00017 00018 static void suspend(void); // Let message code run... 00019 static void awaken(void); // ...then return 00020 static void barrier(void); // Let message code run, then return 00021 static void ExitSchedOn(int pe); // Tell a remote processor to stop 00022 // his scheduler 00023 00024 }; 00025 00026 #endif 00027
1.3.9.1