- Timestamp:
- 08/11/09 15:33:20 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/objective-cplusplus/i3/trunk/src/mil/include/mil/Module.h
r34835 r34839 10 10 */ 11 11 template <typename Child> 12 class Module : public ModuleCommon<Module<Child> , MIL_DEFAULT_THREAD> {12 class Module : public ModuleCommon<Module<Child> > { 13 13 public: 14 14 Tls tls; … … 83 83 private: 84 84 EventList list; 85 Conditional c; 85 //Conditional c; 86 Semaphore s; 86 87 bool repost; 87 88 bool breakLoopRequest; … … 151 152 152 153 if (list.push(*e)) { 153 c.signal(); 154 //c.signal(); 155 s.p(); 154 156 } 155 157 } … … 195 197 while (!breakLoopRequest) { 196 198 if (!execute_front()) { 197 c.wait(); 199 //c.wait(); 200 s.v(); 198 201 } 199 202 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)