- Timestamp:
- 06/05/13 22:15:43 (11 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Main.h
r16093 r16737 200 200 // Hopefully checking the readline (see Threed) should fix 201 201 // that -- difficult to test.) 202 while (io_service.GetCurrentState()<StateMachineImp::kSM_Ready && !shell.IsStopped()) 202 while ((io_service.GetCurrentState()<StateMachineImp::kSM_Ready || 203 !io_service.MessageQueueEmpty()) && !shell.IsStopped()) 203 204 usleep(1); 204 205 … … 212 213 shell.Execute(*it, args); 213 214 215 cout << "==============="<< endl; 216 214 217 // Run the shell if no immediate exit was requested 215 218 if (!conf.Get<bool>("quit")) -
trunk/FACT++/src/MessageDim.h
r16479 r16737 23 23 24 24 void SetDebug(bool b=true) { fDebug=b; } 25 26 bool MessageQueueEmpty() const { return fMsgQueue.empty(); } 25 27 }; 26 28 -
trunk/FACT++/src/MessageImp.h
r14497 r16737 69 69 std::ostream &operator()() const { return fOut; } 70 70 std::ostream &Out() const { return fOut; } 71 72 virtual bool MessageQueueEmpty() const { return true; } 71 73 }; 72 74 -
trunk/FACT++/src/StateMachineDim.h
r16537 r16737 100 100 101 101 bool AddStateName(const int state, const std::string &name, const std::string &doc=""); 102 103 bool MessageQueueEmpty() const { return DimLog::fLog.MessageQueueEmpty(); } 102 104 }; 103 105
Note:
See TracChangeset
for help on using the changeset viewer.