Changeset 10710 for trunk/FACT++/src/scheduler.cc
- Timestamp:
- 05/13/11 16:59:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/scheduler.cc
r10709 r10710 686 686 // ------------------------------------------------------------------------ 687 687 688 void RunThread(StateMachineImp *io_service) 689 { 690 // This is necessary so that the StateMachien Thread can signal the 691 // Readline to exit 692 io_service->Run(); 693 Readline::Stop(); 694 } 695 688 696 template<class S> 689 697 int RunDim(Configuration &conf) … … 725 733 shell.SetReceiver(io_service); 726 734 727 boost::thread t(boost::bind(&AutoScheduler<S>::Run, &io_service)); 735 // boost::thread t(boost::bind(&AutoScheduler<S>::Run, &io_service)); 736 boost::thread t(boost::bind(RunThread, &io_service)); 728 737 729 738 //io_service.SetReady();
Note:
See TracChangeset
for help on using the changeset viewer.