00001 00007 #include "charm++.h" 00008 00009 #ifndef _BCASTCLI_H 00010 #define _BCASTCLI_H 00011 00012 class BroadcastClient { 00013 public: 00014 int id; 00015 BroadcastClient(int id); 00016 ~BroadcastClient(); 00017 void awaken(int id, int tag); 00018 00019 protected: 00020 void suspendFor(int tag); 00021 00022 int suspended; 00023 int waitForTag; 00024 CthThread thread; 00025 }; 00026 00027 #endif 00028
1.3.9.1