Changeset 11057
- Timestamp:
- 06/18/11 12:12:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fscctrl.cc
r11043 r11057 449 449 } 450 450 451 /* 451 452 template<class S, class T> 452 453 int RunDim(Configuration &conf) 453 454 { 454 455 WindowLog wout; 455 456 /*457 static Test shell(conf.GetName().c_str(), conf.Get<int>("console")!=1);458 459 WindowLog &win = shell.GetStreamIn();460 WindowLog &wout = shell.GetStreamOut();461 */462 456 463 457 ReadlineColor::PrintBootMsg(wout, conf.GetName(), false); … … 476 470 io_service.Run(); 477 471 478 /*479 shell.SetReceiver(io_service);480 481 boost::thread t(boost::bind(RunThread, &io_service));482 // boost::thread t(boost::bind(&StateMachineFSC<S>::Run, &io_service));483 484 shell.Run(); // Run the shell485 io_service.Stop(); // Signal Loop-thread to stop486 // io_service.Close(); // Obsolete, done by the destructor487 488 // Wait until the StateMachine has finished its thread489 // before returning and destroying the dim objects which might490 // still be in use.491 t.join();492 */493 494 472 return 0; 495 473 } 474 */ 496 475 497 476 template<class T, class S, class R> … … 645 624 { 646 625 if (conf.Get<bool>("no-dim")) 647 return Run Dim<StateMachine, ConnectionFSC>(conf);626 return RunShell<LocalStream, StateMachine, ConnectionFSC>(conf); 648 627 else 649 return Run Dim<StateMachineDim, ConnectionDimFSC>(conf);628 return RunShell<LocalStream, StateMachineDim, ConnectionDimFSC>(conf); 650 629 } 651 630 // Cosole access w/ and w/o Dim
Note:
See TracChangeset
for help on using the changeset viewer.