- Timestamp:
- 05/28/13 14:07:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/LocalControl.h
r13897 r16387 120 120 const Time timeout = ms<=0 ? Time(Time::none) : Time()+boost::posix_time::millisec(ms); 121 121 122 const int target = stoi(str.substr(3)); 123 while (fStateMachine->GetCurrentState()!=target && timeout>Time() && !T::IsScriptStopped()) 122 while (fStateMachine->GetCurrentState()!=state && timeout>Time() && !T::IsScriptStopped()) 124 123 usleep(1); 125 124 126 if (fStateMachine->GetCurrentState()== target)125 if (fStateMachine->GetCurrentState()==state) 127 126 return true; 128 127
Note:
See TracChangeset
for help on using the changeset viewer.